summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorNate Jiang <qiangjiang@google.com>2020-02-27 18:34:06 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2020-02-27 18:34:06 +0000
commit9370bc7456b04557e76a205919ca52a551cf49f3 (patch)
treeeba4ef3c014cea27f225fc46c7aed42d26988646 /service
parent9afedacab564a14d4a7afc0c248634deb8e589b0 (diff)
parentc4a71909a293adaed99dbf9312343c4bc5cd5ba1 (diff)
Merge "Factory reset should clean all ephemeral network and passpoint network" into rvc-dev
Diffstat (limited to 'service')
-rw-r--r--service/java/com/android/server/wifi/WifiServiceImpl.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/service/java/com/android/server/wifi/WifiServiceImpl.java b/service/java/com/android/server/wifi/WifiServiceImpl.java
index 733a48ed6..fd518e521 100644
--- a/service/java/com/android/server/wifi/WifiServiceImpl.java
+++ b/service/java/com/android/server/wifi/WifiServiceImpl.java
@@ -3366,6 +3366,7 @@ public class WifiServiceImpl extends BaseWifiService {
mWifiThreadRunner.post(() -> {
mPasspointManager.clearAnqpRequestsAndFlushCache();
mWifiConfigManager.clearDeletedEphemeralNetworks();
+ mWifiConfigManager.removeAllEphemeralOrPasspointConfiguredNetworks();
mClientModeImpl.clearNetworkRequestUserApprovedAccessPoints();
mWifiNetworkSuggestionsManager.clear();
mWifiInjector.getWifiScoreCard().clear();