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

Commit 58938159 authored by Irfan Sheriff's avatar Irfan Sheriff
Browse files

Fix ssid storage regression

I introduced a bug with change Ic12fd78f. Quite
possibly a copy-paste issue.

Bug: 3281928
Change-Id: I040fa8580c3d6d5c585d0e5cc4306daab2f44c3d
parent 3a65de79
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -77,7 +77,7 @@ public class WifiClientTest extends AndroidTestCase {
        List<WifiConfiguration> configList = mWifiManager.getConfiguredNetworks();
        boolean found = false;
        for (WifiConfiguration c : configList) {
            if (c.networkId == netId) {
            if (c.networkId == netId && c.SSID.equals(config.SSID)) {
                found = true;
            }
        }
+1 −1
Original line number Diff line number Diff line
@@ -1112,7 +1112,7 @@ class WifiConfigStore {

        value = WifiNative.getNetworkVariableCommand(netId, WifiConfiguration.ssidVarName);
        if (!TextUtils.isEmpty(value)) {
            config.SSID = removeDoubleQuotes(value);
            config.SSID = value;
        } else {
            config.SSID = null;
        }