Merge "Removed MESSAGE_BIND_PROFILE_SERVICE messages on unbind"
This commit is contained in:
@@ -689,6 +689,7 @@ class BluetoothManagerService extends IBluetoothManager.Stub {
|
|||||||
if (mUnbinding) return;
|
if (mUnbinding) return;
|
||||||
mUnbinding = true;
|
mUnbinding = true;
|
||||||
mHandler.removeMessages(MESSAGE_BLUETOOTH_STATE_CHANGE);
|
mHandler.removeMessages(MESSAGE_BLUETOOTH_STATE_CHANGE);
|
||||||
|
mHandler.removeMessages(MESSAGE_BIND_PROFILE_SERVICE);
|
||||||
if (mBluetooth != null) {
|
if (mBluetooth != null) {
|
||||||
//Unregister callback object
|
//Unregister callback object
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user