mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
better
This commit is contained in:
parent
456014dd5f
commit
d2f6156841
4 changed files with 46 additions and 18 deletions
|
|
@ -60,8 +60,8 @@ class SafeBluetooth(private val context: Context, private val device: BluetoothD
|
|||
completeWork(status, Unit)
|
||||
}
|
||||
BluetoothProfile.STATE_DISCONNECTED -> {
|
||||
// cancel any ops
|
||||
failAllWork(IOException("Lost connection"))
|
||||
// cancel any queued ops? for now I think it is best to keep them around
|
||||
// failAllWork(IOException("Lost connection"))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue