am 52e929a9
: am 2fb9c773
: Merge "dont show a config in saved network if it is self added and we never connected to it Bug:17939405" into lmp-dev
* commit '52e929a9613e52e199dcf12b95acab31be3c25bd': dont show a config in saved network if it is self added and we never connected to it Bug:17939405
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user