aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMister Oyster <oysterized@gmail.com>2017-01-29 21:17:01 +0100
committerMister Oyster <oysterized@gmail.com>2017-01-30 12:43:44 +0100
commita3aab1070fc53b59e67f9a6711db6eecf2213ea2 (patch)
tree744c13bc93afcba6fdf0c271b10dfc704be47e84
parente641f6c47a697d0149397aced09395f6a8bcef4b (diff)
overlay: fix bt tethering (thanks @walter79 for the tip)
-rw-r--r--overlay/frameworks/base/core/res/res/values/config.xml12
1 files changed, 8 insertions, 4 deletions
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index ae33c87..97148e4 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -70,6 +70,7 @@
USB interfaces. If the device doesn't want to support tethering over USB this should
be empty. An example would be "usb.*" -->
<string-array translatable="false" name="config_tether_usb_regexs">
+ <item>"usb\\d"</item>
<item>"rndis\\d"</item>
</string-array>
@@ -84,17 +85,20 @@
bluetooth interfaces. If the device doesn't want to support tethering over bluetooth this
should be empty. -->
<string-array translatable="false" name="config_tether_bluetooth_regexs">
+ <item>"bnep\\d"</item>
<item>"bt-pan"</item>
- <item>"bt-dun"</item>
</string-array>
-
- <!-- Array of allowable ConnectivityManager network types for tethering -->
- <integer-array name="config_tether_upstream_types">
+
+ <!-- Array of ConnectivityManager.TYPE_xxxx values allowable for tethering -->
+ <!-- Common options are [1, 4] for TYPE_WIFI and TYPE_MOBILE_DUN or
+ <!== [0,1,5,7] for TYPE_MOBILE, TYPE_WIFI, TYPE_MOBILE_HIPRI and TYPE_BLUETOOTH -->
+ <integer-array translatable="false" name="config_tether_upstream_types">
<item>0</item>
<item>1</item>
<item>5</item>
<item>7</item>
<item>9</item>
+ <item>49</item>
</integer-array>
<!-- Boolean indicating whether the wifi chipset has dual frequency band support -->