fix: properly handle connecting to bonded devices
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user