Merge "Fixed a bug where Wi-Fi would should networks out of range." into lmp-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
68af317321
@@ -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