Merge "Do not turn on Bluetooth when booting into Safe Mode" am: 34ed823dae
am: 8ae1de7afe
Change-Id: I42bd7eb84dedc295a69e7174210a214d2ef96700
This commit is contained in:
@@ -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.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user