am 17671fb1: am ef1bbaa3: am 68af3173: Merge "Fixed a bug where Wi-Fi would should networks out of range." into lmp-dev
* commit '17671fb1f00033381e988903443579a80f2a40a9': Fixed a bug where Wi-Fi would should networks out of range.
This commit is contained in:
@@ -710,7 +710,10 @@ public class WifiSettings extends RestrictedSettingsFragment
|
||||
}
|
||||
|
||||
for (AccessPoint accessPoint : accessPoints) {
|
||||
getPreferenceScreen().addPreference(accessPoint);
|
||||
// Ignore access points that are out of range.
|
||||
if (accessPoint.getLevel() != -1) {
|
||||
getPreferenceScreen().addPreference(accessPoint);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user