summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRoshan Pius <rpius@google.com>2018-05-16 15:07:19 -0700
committerandroid-build-merger <android-build-merger@google.com>2018-05-16 15:07:19 -0700
commit3e56addf0338a7b9d7c0a6f2be7f4ba497d25a5d (patch)
tree4f0d2012d2454e5874fae042b053c609f4f91d87 /tests
parentedc5df6510ee891d96b4509d4e7ca8d64054f127 (diff)
parent514a1fbaca27f86221279b841a0617b43db18a7e (diff)
Merge "WifiConfigManager: Explcitly set the disable reason for new networks" into pi-dev
am: 514a1fbaca Change-Id: Ie0ddb0443ab56c2142c981c6c3f89a9c05c1ae27
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);
}
/**