Merge "Fixed a bug where Wi-Fi would should networks out of range." into lmp-dev

This commit is contained in:
PauloftheWest
2014-07-28 19:32:29 +00:00
committed by Android (Google) Code Review

View File

@@ -710,8 +710,11 @@ public class WifiSettings extends RestrictedSettingsFragment
}
for (AccessPoint accessPoint : accessPoints) {
// Ignore access points that are out of range.
if (accessPoint.getLevel() != -1) {
getPreferenceScreen().addPreference(accessPoint);
}
}
break;
case WifiManager.WIFI_STATE_ENABLING: