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

Commit f77ca5fa authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Bluetooth: persist state when turning on from BLE" into nyc-mr2-dev

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