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

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

Removed MESSAGE_BIND_PROFILE_SERVICE messages on unbind

am: 4cd9a26c

Change-Id: I49e5669a037080089b7be345d8dfb32744a5525a
parents 06efd312 4cd9a26c
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 {