Loading services/core/java/com/android/server/BluetoothManagerService.java +7 −0 Original line number Diff line number Diff line Loading @@ -969,6 +969,13 @@ class BluetoothManagerService extends IBluetoothManager.Stub { Slog.e(TAG, "onBluetoothServiceUp: mBluetooth is null!"); return; } if (!mEnableExternal && !isBleAppPresent() && isAirplaneModeOn()) { // Airplane mode is turned on while enabling BLE only mode, disable // BLE now. disableBleScanMode(); sendBrEdrDownCallback(); return; } if (isBluetoothPersistedStateOnBluetooth() || !isBleAppPresent()) { // This triggers transition to STATE_ON mBluetooth.onLeServiceUp(); Loading Loading
services/core/java/com/android/server/BluetoothManagerService.java +7 −0 Original line number Diff line number Diff line Loading @@ -969,6 +969,13 @@ class BluetoothManagerService extends IBluetoothManager.Stub { Slog.e(TAG, "onBluetoothServiceUp: mBluetooth is null!"); return; } if (!mEnableExternal && !isBleAppPresent() && isAirplaneModeOn()) { // Airplane mode is turned on while enabling BLE only mode, disable // BLE now. disableBleScanMode(); sendBrEdrDownCallback(); return; } if (isBluetoothPersistedStateOnBluetooth() || !isBleAppPresent()) { // This triggers transition to STATE_ON mBluetooth.onLeServiceUp(); Loading