softap: Add timeoutdelay customize and config update support.
1. Add timeoutdelay customize support.
2. Add config update support
Bug: 142752869
Test: atest frameworks/opt/net/wifi/tests/wifitests/
Test: Manual Test, fake shutdown timout configuration change
to force configuration update. Checked the log and UI behavior.
Change-Id: I7ef086b5115111892450b8c67840c58049e0a167
diff --git a/service/res/values/config.xml b/service/res/values/config.xml
index 98a005e..2ba4e6a 100644
--- a/service/res/values/config.xml
+++ b/service/res/values/config.xml
@@ -122,10 +122,9 @@
<integer translatable="false" name="config_wifiFrameworkScoreGoodRssiThreshold6ghz">-57</integer>
<!-- Integer delay in milliseconds before shutting down soft AP when there
- are no connected devices. Framework will enforce a minimum limit on
- this value and this setting will be overridden if the provided value is
- smaller than the limit. -->
- <integer translatable="false" name="config_wifi_framework_soft_ap_timeout_delay">600000</integer>
+ are no connected devices. -->
+ <integer translatable="false" name="config_wifiFrameworkSoftApShutDownTimeoutMilliseconds">600000</integer>
+
<!-- Integer indicating maximum hardware supported client number of soft ap -->
<integer translatable="false" name="config_wifiHardwareSoftapMaxClientCount">16</integer>