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

* commit '68af317321693984ec54caa6abcb39f6627d291f':
  Fixed a bug where Wi-Fi would should networks out of range.
This commit is contained in:
PauloftheWest
2014-07-28 19:35:52 +00:00
committed by Android Git Automerger

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: