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

Commit 60790f7b authored by vandwalle's avatar vandwalle Committed by Android Git Automerger
Browse files

am 2fb9c773: Merge "dont show a config in saved network if it is self added...

am 2fb9c773: Merge "dont show a config in saved network if it is self added and we never connected to it Bug:17939405" into lmp-dev

* commit '2fb9c773':
  dont show a config in saved network if it is self added and we never connected to it Bug:17939405
parents a9cd186c 2fb9c773
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -128,7 +128,11 @@ public class SavedAccessPointsWifiSettings extends SettingsPreferenceFragment

            final int configsSize = configs.size();
            for (int i = 0; i < configsSize; ++i){
                AccessPoint accessPoint = new AccessPoint(context, configs.get(i));
                WifiConfiguration config = configs.get(i);
                if (config.selfAdded && config.numAssociation == 0) {
                    continue;
                }
                AccessPoint accessPoint = new AccessPoint(context, config);
                final List<ScanResult> results = resultsMap.get(accessPoint.ssid);

                accessPoint.setShowSummary(false);