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

Commit 88ddf773 authored by Zongheng Wang's avatar Zongheng Wang Committed by android-build-merger
Browse files

Merge "Do not turn on Bluetooth when booting into Safe Mode" am: 34ed823d am: 8ae1de7a

am: 121bafc5

Change-Id: Ibde604921565210e2e58b2ea02fd99dd8cd61c66
parents a56bd255 121bafc5
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1185,7 +1185,8 @@ class BluetoothManagerService extends IBluetoothManager.Stub {
        if (isBluetoothDisallowed) {
            return;
        }
        if (mEnableExternal && isBluetoothPersistedStateOnBluetooth()) {
        final boolean isSafeMode = mContext.getPackageManager().isSafeMode();
        if (mEnableExternal && isBluetoothPersistedStateOnBluetooth() && !isSafeMode) {
            if (DBG) {
                Slog.d(TAG, "Auto-enabling Bluetooth.");
            }