Merge "Removed MESSAGE_BIND_PROFILE_SERVICE messages on unbind" am: 3b0256fc73 am: 829285c38e

am: d0113aab0c

Change-Id: I369cef9da608f2175279245de8fb220e8012f3e5
This commit is contained in:
Pavlin Radoslavov
2016-09-22 23:08:14 +00:00
committed by android-build-merger

View File

@@ -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 {