diff options
author | Nate(Qiang) Jiang <qiangjiang@google.com> | 2020-03-05 13:05:49 -0800 |
---|---|---|
committer | Nate(Qiang) Jiang <qiangjiang@google.com> | 2020-03-05 13:08:58 -0800 |
commit | b62170fef916031393554ac11fe8be42a27381d2 (patch) | |
tree | 84e3a6adcac44a4f91ad81def53d1fa383a01ac9 /tests | |
parent | e194bea0c7191a6df4edd17bf91d1948c1fbe687 (diff) |
When suggestion modify the trusted bit, sync to WifiConfigManager
Bug: 150230289
Test: atest com.android.server.wifi
Change-Id: Ic220cb076cebedf9b16cc654224f17bbebb499fc
Diffstat (limited to 'tests')
-rw-r--r-- | tests/wifitests/src/com/android/server/wifi/WifiConfigManagerTest.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/wifitests/src/com/android/server/wifi/WifiConfigManagerTest.java b/tests/wifitests/src/com/android/server/wifi/WifiConfigManagerTest.java index 3ff4aa239..aa8797db2 100644 --- a/tests/wifitests/src/com/android/server/wifi/WifiConfigManagerTest.java +++ b/tests/wifitests/src/com/android/server/wifi/WifiConfigManagerTest.java @@ -500,6 +500,8 @@ public class WifiConfigManagerTest extends WifiBaseTest { // Now change BSSID for the network. assertAndSetNetworkBSSID(openNetwork, TEST_BSSID); + // Change the trusted bit. + openNetwork.trusted = true; verifyUpdateNetworkToWifiConfigManagerWithoutIpChange(openNetwork); // Now verify that the modification has been effective. |