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

Commit 72fd20e6 authored by Himanshu Rawat's avatar Himanshu Rawat Committed by Automerger Merge Worker
Browse files

Merge "Corrected comment on when BT is not disabled on entering airplane...

Merge "Corrected comment on when BT is not disabled on entering airplane mode." am: 2a1dc3a8 am: fcfa8b53 am: 34ff50af am: e7c2ac3d

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1916077

Change-Id: I6e44dff44f333548a1f1e4528bc84214adb64ccc
parents 827556ca e7c2ac3d
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -112,9 +112,9 @@ class BluetoothAirplaneModeListener {
    void handleAirplaneModeChange() {
        if (shouldSkipAirplaneModeChange()) {
            Log.i(TAG, "Ignore airplane mode change");
            // We have to store Bluetooth state here, so if user turns off Bluetooth
            // after airplane mode is turned on, we don't forget to turn on Bluetooth
            // when airplane mode turns off.
            // Airplane mode enabled when Bluetooth is being used for audio/headering aid.
            // Bluetooth is not disabled in such case, only state is changed to
            // BLUETOOTH_ON_AIRPLANE mode.
            mAirplaneHelper.setSettingsInt(Settings.Global.BLUETOOTH_ON,
                    BluetoothManagerService.BLUETOOTH_ON_AIRPLANE);
            if (shouldPopToast()) {