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

Commit 24a9fa82 authored by Andre Eisenbach's avatar Andre Eisenbach Committed by android-build-merger
Browse files

Merge "Bluetooth: persist state when turning on from BLE" am: 247771b9 am:...

Merge "Bluetooth: persist state when turning on from BLE" am: 247771b9 am: 5e1cdf29 am: fc8bd363
am: 2c91ff2c

Change-Id: I3e7b3fb0cc9c8cc9a6377cca9b9e3c54d192fd33
parents 2a5356ea 2c91ff2c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1295,8 +1295,9 @@ class BluetoothManagerService extends IBluetoothManager.Stub {
                        if (mBluetooth != null) {
                            int state = mBluetooth.getState();
                            if (state == BluetoothAdapter.STATE_BLE_ON) {
                                Slog.w(TAG, "BT is in BLE_ON State");
                                Slog.w(TAG, "BT Enable in BLE_ON State, going to ON");
                                mBluetooth.onLeServiceUp();
                                persistBluetoothSetting(BLUETOOTH_ON_BLUETOOTH);
                                break;
                            }
                        }