Merge "Removed MESSAGE_BIND_PROFILE_SERVICE messages on unbind" am: 3b0256fc73
am: 829285c38e
Change-Id: I488915e4f0f8bcc9b90f61699f000831f2d393fe
This commit is contained in:
@@ -689,6 +689,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 {
|
||||
|
||||
Reference in New Issue
Block a user