From b62170fef916031393554ac11fe8be42a27381d2 Mon Sep 17 00:00:00 2001 From: "Nate(Qiang) Jiang" Date: Thu, 5 Mar 2020 13:05:49 -0800 Subject: When suggestion modify the trusted bit, sync to WifiConfigManager Bug: 150230289 Test: atest com.android.server.wifi Change-Id: Ic220cb076cebedf9b16cc654224f17bbebb499fc --- tests/wifitests/src/com/android/server/wifi/WifiConfigManagerTest.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests') 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. -- cgit v1.2.3