diff options
Diffstat (limited to 'src/com')
-rw-r--r-- | src/com/android/settings/wifi/SavedAccessPointsWifiSettings.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/com/android/settings/wifi/SavedAccessPointsWifiSettings.java b/src/com/android/settings/wifi/SavedAccessPointsWifiSettings.java index c24767b57..bea720cf4 100644 --- a/src/com/android/settings/wifi/SavedAccessPointsWifiSettings.java +++ b/src/com/android/settings/wifi/SavedAccessPointsWifiSettings.java @@ -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); |