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

Commit 203631b2 authored by Irfan Sheriff's avatar Irfan Sheriff Committed by Gerrit Code Review
Browse files

Merge "wifiSettings: Updating the networkinfo on supplicant event"

parents 505232be f99d52cf
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -835,6 +835,11 @@ public class WifiSettings extends SettingsPreferenceFragment
                    WifiManager.EXTRA_NEW_STATE);
            if (!mConnected.get() && SupplicantState.isHandshakeState(state)) {
                updateConnectionState(WifiInfo.getDetailedStateOf(state));
             } else {
                 // During a connect, we may have the supplicant
                 // state change affect the detailed network state.
                 // Make sure a lost connection is updated as well.
                 updateConnectionState(null);
             }
        } else if (WifiManager.NETWORK_STATE_CHANGED_ACTION.equals(action)) {
            NetworkInfo info = (NetworkInfo) intent.getParcelableExtra(