summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoshan Pius <rpius@google.com>2016-08-26 20:09:57 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2016-08-26 20:09:57 +0000
commit924ef8d3df3bb7b36750b26f1cb9542d01aaabb3 (patch)
tree5b322aa90e0638cffc9d2370e3a5594f69f52762
parent721d714a41e68a898fd399bec37a287d87a95b32 (diff)
parent0fd8e37b6285c448d971fb4b61b287b5b0a27c6f (diff)
Merge "Some networks can not connect automatically." into nyc-mr1-dev
-rw-r--r--service/java/com/android/server/wifi/WifiConfigManager.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/service/java/com/android/server/wifi/WifiConfigManager.java b/service/java/com/android/server/wifi/WifiConfigManager.java
index dbe67e88e..94879a011 100644
--- a/service/java/com/android/server/wifi/WifiConfigManager.java
+++ b/service/java/com/android/server/wifi/WifiConfigManager.java
@@ -1653,6 +1653,7 @@ public class WifiConfigManager {
// 2) mConfiguredNetworks caches a Passpoint network's FQDN the moment the network is added.
// Thus, we had to load the FQDNs first.
mConfiguredNetworks.clear();
+ mScanDetailCaches.clear();
for (Map.Entry<String, WifiConfiguration> entry : configs.entrySet()) {
final String configKey = entry.getKey();
final WifiConfiguration config = entry.getValue();