Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5b124b2b authored by Charlie Boutier's avatar Charlie Boutier Committed by Automerger Merge Worker
Browse files

Merge "PandoraServer: fix waitDisconnection" am: 0432d8db

parents 5a2f9689 0432d8db
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -316,8 +316,7 @@ class Host(
                throw RuntimeException("Bluetooth is not enabled, cannot waitDisconnection")
            }
            if (
                bluetoothDevice.bondState != BluetoothDevice.BOND_NONE &&
                    !waitedAclDisconnection.contains(bluetoothDevice)
                bluetoothDevice.isConnected() && !waitedAclDisconnection.contains(bluetoothDevice)
            ) {
                flow
                    .filter { it.action == BluetoothDevice.ACTION_ACL_DISCONNECTED }