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

Commit 1beea0c8 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "BT: Synchronize Bond SM message processing and cleanup" am: 1a73827f am: 96576dc6

Change-Id: Icb33faa87f01e0fd29117ed215370b03716296cb
parents d9b65e25 96576dc6
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;