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

Commit 247771b9 authored by Andre Eisenbach's avatar Andre Eisenbach Committed by Gerrit Code Review
Browse files

Merge "Bluetooth: persist state when turning on from BLE"

parents 72f3da1b dd034c27
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1282,8 +1282,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;
                            }
                        }