summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRoshan Pius <rpius@google.com>2018-05-16 21:47:15 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2018-05-16 21:47:15 +0000
commit514a1fbaca27f86221279b841a0617b43db18a7e (patch)
treefe0c5fb8981d3e59d478c74e75e543e2cd033cb2 /tests
parent8964a106164d84089c1ee52b62973c346115822b (diff)
parent35b49ffad94e7e7d7769db2a4aea0057640165fa (diff)
Merge "WifiConfigManager: Explcitly set the disable reason for new networks" into pi-dev
Diffstat (limited to 'tests')
-rw-r--r--tests/wifitests/src/com/android/server/wifi/WifiConfigManagerTest.java2
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 4cccc88c9..844a358d0 100644
--- a/tests/wifitests/src/com/android/server/wifi/WifiConfigManagerTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/WifiConfigManagerTest.java
@@ -3607,6 +3607,8 @@ public class WifiConfigManagerTest {
configuration.status = WifiConfiguration.Status.DISABLED;
configuration.getNetworkSelectionStatus().setNetworkSelectionStatus(
NetworkSelectionStatus.NETWORK_SELECTION_PERMANENTLY_DISABLED);
+ configuration.getNetworkSelectionStatus().setNetworkSelectionDisableReason(
+ NetworkSelectionStatus.DISABLED_BY_WIFI_MANAGER);
}
/**