Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 63f24646 authored by Nitin Arora's avatar Nitin Arora Committed by Android Git Automerger
Browse files

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

* commit '11f83882':
  Bluetooth: Clear BLE always ON apps at Airplane mode
parents 39247528 11f83882
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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