Catch NoShellException

This commit is contained in:
Mygod
2020-06-24 07:07:34 +08:00
parent 659c1a34e0
commit d2af382911

View File

@@ -216,7 +216,7 @@ class RepeaterManager(private val parent: TetheringFragment) : Manager(), Servic
passphrase = config.psk
bssid = config.bssid
this to false
} catch (e: RuntimeException) {
} catch (e: Exception) {
Timber.w(e)
passphrase = group.passphrase
bssid = group.owner?.deviceAddress?.let(MacAddressCompat.Companion::fromString)