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

Commit 9c395c8e authored by Vinit Deshapnde's avatar Vinit Deshapnde Committed by Android Git Automerger
Browse files

am 6a3b7db2: am 771c11b7: Merge "Fix duplicate SSID entries in the WifiSettings UI" into klp-dev

* commit '6a3b7db2':
  Fix duplicate SSID entries in the WifiSettings UI
parents a53fb42f 6a3b7db2
Loading
Loading
Loading
Loading
+9 −3
Original line number Diff line number Diff line
@@ -680,10 +680,16 @@ class WifiConfigStore {
            }
            config.ipAssignment = IpAssignment.DHCP;
            config.proxySettings = ProxySettings.NONE;

            if (mNetworkIds.containsKey(configKey(config))) {
                // That SSID is already known, just ignore this duplicate entry
                localLog("discarded duplicate network", config.networkId);
            } else {
                mConfiguredNetworks.put(config.networkId, config);
                mNetworkIds.put(configKey(config), config.networkId);
                localLog("loaded configured network", config.networkId);
            }
        }

        readIpAndProxyConfigurations();
        sendConfiguredNetworksChangedBroadcast();