mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
fix autobug: exceptions become RemoteException when crossing service boundary
This commit is contained in:
parent
9b57d60432
commit
428ea596b0
1 changed files with 1 additions and 1 deletions
|
|
@ -168,7 +168,7 @@ class MeshService : Service(), Logging {
|
|||
destNum = if (sendLora) NODENUM_BROADCAST else myNodeNum,
|
||||
wantResponse = sendLora
|
||||
)
|
||||
} catch (ex: RadioNotConnectedException) {
|
||||
} 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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue