summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorHai Shalom <haishalom@google.com>2020-08-05 20:59:48 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2020-08-05 20:59:48 +0000
commit8beb8e0b4537bc25291fa98e1406987973f75d8d (patch)
treea5336bb0e3cad89db5b3e9ff7d5d5a0d620185b3 /service
parent50f8f0bebb76c2edb2256cffce195e06ca97ad2d (diff)
parent0328224348fe41e2df48e811d5311c90209cd40e (diff)
Merge "Flush ANQP caches when toggling Wi-Fi off" into rvc-qpr-dev
Diffstat (limited to 'service')
-rw-r--r--service/java/com/android/server/wifi/ClientModeImpl.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/service/java/com/android/server/wifi/ClientModeImpl.java b/service/java/com/android/server/wifi/ClientModeImpl.java
index 66972d468..3f6ef8601 100644
--- a/service/java/com/android/server/wifi/ClientModeImpl.java
+++ b/service/java/com/android/server/wifi/ClientModeImpl.java
@@ -3681,9 +3681,10 @@ public class ClientModeImpl extends StateMachine {
// TODO: b/79504296 This broadcast has been deprecated and should be removed
sendSupplicantConnectionChangedBroadcast(false);
- // Let's remove any ephemeral or passpoint networks.
+ // Remove any ephemeral or Passpoint networks, flush ANQP cache
mWifiConfigManager.removeAllEphemeralOrPasspointConfiguredNetworks();
mWifiConfigManager.clearUserTemporarilyDisabledList();
+ mPasspointManager.clearAnqpRequestsAndFlushCache();
}
void registerConnected() {