am b0ab2d9b: am ce3ef9c8: am 4e07468f: am 29b8c4ab: Reset the pointer to the Bluetooth GATT service

* commit 'b0ab2d9b01c679e1adeb93e8a2955c6bbdac1d79':
  Reset the pointer to the Bluetooth GATT service
This commit is contained in:
Pavlin Radoslavov
2015-08-04 05:09:39 +00:00
committed by Android Git Automerger

View File

@@ -1506,6 +1506,7 @@ class BluetoothManagerService extends IBluetoothManager.Stub {
//Unbind
mContext.unbindService(mConnection);
}
mBluetoothGatt = null;
}
SystemClock.sleep(100);
@@ -1811,6 +1812,7 @@ class BluetoothManagerService extends IBluetoothManager.Stub {
//Unbind
mContext.unbindService(mConnection);
}
mBluetoothGatt = null;
}
mHandler.removeMessages(MESSAGE_BLUETOOTH_STATE_CHANGE);