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

Commit 3b179a89 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix Wi-Fi tips disappeared issue in airplane mode" into sc-dev

parents 025bb7ca 087d10a7
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -346,6 +346,10 @@ public class WifiSettings extends RestrictedSettingsFragment
        if (intent.hasExtra(EXTRA_START_CONNECT_SSID)) {
            mOpenSsid = intent.getStringExtra(EXTRA_START_CONNECT_SSID);
        }

        // After rebooting the device, the Wi-Fi state will not be called back in the airplane
        // mode, need to call onWifiStateChanged() to update the initial state of the UI.
        onWifiStateChanged();
    }

    @Override