This commit is contained in:
geeksville 2020-01-27 16:58:47 -08:00
parent 456014dd5f
commit d2f6156841
4 changed files with 46 additions and 18 deletions

View file

@ -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"))
}
}
}