kopia lustrzana https://github.com/meshtastic/Meshtastic-Android
treat radio not connected exception like a remote exception
rodzic
28023b8f42
commit
774ab65ece
|
@ -192,6 +192,9 @@ class MeshService : Service(), Logging {
|
|||
} catch (ex: RemoteException) { // Really a RadioNotConnected exception, but it has changed into this type via remoting
|
||||
warn("Lost connection to radio, stopping location requests")
|
||||
onConnectionChanged(ConnectionState.DEVICE_SLEEP)
|
||||
} catch (ex: BLEException) { // Really a RadioNotConnected exception, but it has changed into this type via remoting
|
||||
warn("BLE exception, stopping location requests $ex")
|
||||
onConnectionChanged(ConnectionState.DEVICE_SLEEP)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue