am 11f83882: Bluetooth: Clear BLE always ON apps at Airplane mode

* commit '11f83882f2a4448b5a2bbbb9e23b700096ed7536':
  Bluetooth: Clear BLE always ON apps at Airplane mode
This commit is contained in:
Nitin Arora
2015-05-20 07:04:07 +00:00
committed by Android Git Automerger

View File

@@ -205,6 +205,7 @@ class BluetoothManagerService extends IBluetoothManager.Stub {
// Clear registered LE apps to force shut-off
synchronized (this) {
mBleAppCount = 0;
mBleApps.clear();
}
if (st == BluetoothAdapter.STATE_BLE_ON) {
//if state is BLE_ON make sure you trigger disableBLE part