diff options
author | Hai Shalom <haishalom@google.com> | 2020-08-05 20:59:48 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2020-08-05 20:59:48 +0000 |
commit | 8beb8e0b4537bc25291fa98e1406987973f75d8d (patch) | |
tree | a5336bb0e3cad89db5b3e9ff7d5d5a0d620185b3 /tests | |
parent | 50f8f0bebb76c2edb2256cffce195e06ca97ad2d (diff) | |
parent | 0328224348fe41e2df48e811d5311c90209cd40e (diff) |
Merge "Flush ANQP caches when toggling Wi-Fi off" into rvc-qpr-dev
Diffstat (limited to 'tests')
-rw-r--r-- | tests/wifitests/src/com/android/server/wifi/ClientModeImplTest.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/wifitests/src/com/android/server/wifi/ClientModeImplTest.java b/tests/wifitests/src/com/android/server/wifi/ClientModeImplTest.java index cf1c4f97a..42a465ecc 100644 --- a/tests/wifitests/src/com/android/server/wifi/ClientModeImplTest.java +++ b/tests/wifitests/src/com/android/server/wifi/ClientModeImplTest.java @@ -2364,6 +2364,7 @@ public class ClientModeImplTest extends WifiBaseTest { inOrderMetrics.verify(mWifiMetrics).logStaEvent(StaEvent.TYPE_WIFI_DISABLED); assertNull(wifiInfo.getBSSID()); assertEquals(SupplicantState.DISCONNECTED, wifiInfo.getSupplicantState()); + verify(mPasspointManager).clearAnqpRequestsAndFlushCache(); // Send a SUPPLICANT_STATE_CHANGE_EVENT, verify WifiInfo is not updated mCmi.sendMessage(WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT, 0, 0, |