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

Commit 8854f6cf authored by Pavlin Radoslavov's avatar Pavlin Radoslavov Committed by android-build-merger
Browse files

Removed MESSAGE_BIND_PROFILE_SERVICE messages on unbind

am: c7dda10e

Change-Id: I49e5669a037080089b7be345d8dfb32744a5525a
parents e5a794a2 c7dda10e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -707,6 +707,7 @@ class BluetoothManagerService extends IBluetoothManager.Stub {
            if (mUnbinding) return;
            mUnbinding = true;
            mHandler.removeMessages(MESSAGE_BLUETOOTH_STATE_CHANGE);
            mHandler.removeMessages(MESSAGE_BIND_PROFILE_SERVICE);
            if (mBluetooth != null) {
                //Unregister callback object
                try {