fix: properly handle connecting to bonded devices

This commit is contained in:
Stefan Zollinger
2024-04-11 15:13:16 +02:00
parent 7311ba335f
commit 62ce221860
5 changed files with 72 additions and 16 deletions

View File

@@ -394,9 +394,11 @@ class ConnectionManager(val context: Context, bleAdapter: BluetoothAdapter) {
@Synchronized
private fun enqueueOperation(operation: BleOperationType) {
/*
if (isScanning) {
stopScan()
}
*/
operationQueue.add(operation)
notifyListenersOfQueueChange(operation.device.address)
if (pendingOperation == null) {