summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoshan Pius <rpius@google.com>2018-07-27 09:53:51 -0700
committerMichael Bestas <mkbestas@lineageos.org>2020-06-01 18:51:29 +0300
commitb19585100fad760c9fb4d1d3580b0c850d9ed6b3 (patch)
tree57f882981e36ae57b98838a35e00490ca3e7e3e3
parent0d40658bc05cd823a595edb6634928e1e3e9d1c5 (diff)
sdm660-common: Change wifi tether regex
The wifi interface names for wifi can either be wlan0 or wlan1. Change the "config_tether_wifi_regexs" appropriately. Bug: 80375412 Bug: 118366147 Test: Ensured we display "Hotspot on" in settings when softap is started on either wlan0 or wlan1. Change-Id: I0c456412f9b71ef2ee784f3bfa58b01b9287ca73
-rw-r--r--overlay/frameworks/base/core/res/res/values/config.xml3
1 files changed, 1 insertions, 2 deletions
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index beaa43a..37acb98 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -359,8 +359,7 @@
Wifi interfaces. If the device doesn't want to support tethering over Wifi this
should be empty. An example would be "softap.*" -->
<string-array translatable="false" name="config_tether_wifi_regexs">
- <item>"wigig0"</item>
- <item>"softap0"</item>
+ <item>"wlan\\d"</item>
</string-array>
<!-- When true use the linux /dev/input/event subsystem to detect the switch changes