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

Commit 8825d9aa authored by Himanshu Rawat's avatar Himanshu Rawat
Browse files

Corrected comment on when BT is not disabled on entering airplane mode.

Bug: 208945756
Test: Manual
Change-Id: I790356dbe8664677c5aef7e784eb3c9b30e790cf
parent 1a0f225c
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()) {