diff options
author | lesl <lesl@google.com> | 2020-03-17 14:55:56 +0800 |
---|---|---|
committer | lesl <lesl@google.com> | 2020-03-18 23:44:50 +0800 |
commit | 81b0ea6fc569ad87282f8a621e956d79e162923f (patch) | |
tree | d67fe35866193320abc1b26ec97fc6b317b865db /tests | |
parent | bb934a070ccace84041191a25cc405fa5ffaec31 (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.java | 1 |
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, |