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

Commit 0432d8db authored by Charlie Boutier's avatar Charlie Boutier Committed by Gerrit Code Review
Browse files

Merge "PandoraServer: fix waitDisconnection"

parents 88d00ae8 d438f96f
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 }