Misc fixes
This commit is contained in:
@@ -151,7 +151,7 @@ sealed class TetherManager(protected val parent: TetheringFragment) : Manager(),
|
||||
|
||||
override fun onStateChanged(state: Int, failureReason: Int) {
|
||||
if (state < 10 || state > 14) {
|
||||
Timber.w(Exception("Unknown state $state"))
|
||||
Timber.w(Exception("Unknown state $state, $failureReason"))
|
||||
return
|
||||
}
|
||||
this.failureReason = if (state == 14) failureReason else null // WIFI_AP_STATE_FAILED
|
||||
|
||||
Reference in New Issue
Block a user