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

Commit 192d330c authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "BT: Synchronize Bond SM message processing and cleanup"

parents 7cce8554 572c7fee
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -100,7 +100,7 @@ final class BondStateMachine extends StateMachine {
        return bsm;
    }

    public void doQuit() {
    public synchronized void doQuit() {
        quitNow();
    }

@@ -122,7 +122,7 @@ final class BondStateMachine extends StateMachine {
        }

        @Override
        public boolean processMessage(Message msg) {
        public synchronized boolean processMessage(Message msg) {

            BluetoothDevice dev = (BluetoothDevice) msg.obj;

@@ -178,7 +178,7 @@ final class BondStateMachine extends StateMachine {
        }

        @Override
        public boolean processMessage(Message msg) {
        public synchronized boolean processMessage(Message msg) {
            BluetoothDevice dev = (BluetoothDevice) msg.obj;
            DeviceProperties devProp = mRemoteDevices.getDeviceProperties(dev);
            boolean result = false;