summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorlesl <lesl@google.com>2020-03-17 14:55:56 +0800
committerlesl <lesl@google.com>2020-03-18 23:44:50 +0800
commit81b0ea6fc569ad87282f8a621e956d79e162923f (patch)
treed67fe35866193320abc1b26ec97fc6b317b865db /tests
parentbb934a070ccace84041191a25cc405fa5ffaec31 (diff)
wifi: LocalOnlyHotspot should not enable softap client timeout
Update default config to disable auto shutdown Bug: 151639729 Test: atest frameworks/opt/net/wifi/tests/wifitests/ Test: atest android.net.wifi.cts.WifiManagerTest#testStartLocalOnlyHotspotSuccess and check the log Change-Id: Id7adf733facec02c9a4ef3b1f731d20cfd85fd06
Diffstat (limited to 'tests')
-rw-r--r--tests/wifitests/src/com/android/server/wifi/WifiApConfigStoreTest.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/wifitests/src/com/android/server/wifi/WifiApConfigStoreTest.java b/tests/wifitests/src/com/android/server/wifi/WifiApConfigStoreTest.java
index 02b53f5c8..bfa00cada 100644
--- a/tests/wifitests/src/com/android/server/wifi/WifiApConfigStoreTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/WifiApConfigStoreTest.java
@@ -279,6 +279,7 @@ public class WifiApConfigStoreTest extends WifiBaseTest {
assertEquals(SECURITY_TYPE_WPA2_PSK, config.getSecurityType());
}
assertEquals(15, config.getPassphrase().length());
+ assertFalse(config.isAutoShutdownEnabled());
}
private void verifyDefaultLocalOnlyApConfig(SoftApConfiguration config, String expectedSsid,