RMX1851: overlay: Move tethering overlays
Config overlay values moved from frameworks_base core to frameworks_base packages/Tethering https://github.com/LineageOS/android_frameworks_base/blob/lineage-18.0/packages/Tethering/res/values/config.xml Change-Id: Ia5a8056d6334cd78e79853c0ada4e8873a9669e0 Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
This commit is contained in:
parent
e3eca1b8ce
commit
689fabb481
2 changed files with 82 additions and 66 deletions
|
@ -206,72 +206,6 @@
|
|||
<!-- Is the notification LED intrusive? Used to decide if there should be a disable option -->
|
||||
<bool name="config_intrusiveNotificationLed">true</bool>
|
||||
|
||||
<!-- List of regexpressions describing the interface (if any) that represent tetherable
|
||||
USB interfaces. If the device doesn't want to support tething 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>
|
||||
|
||||
<!-- List of regexpressions describing the interface (if any) that represent tetherable
|
||||
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>"wifi_br0"</item>
|
||||
<item>"wlan0"</item>
|
||||
<item>"wlan1"</item>
|
||||
</string-array>
|
||||
|
||||
<!-- List of regexpressions describing the interface (if any) that represent tetherable
|
||||
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>
|
||||
</string-array>
|
||||
|
||||
<!-- List of regexpressions describing the interface (if any) that represent tetherable
|
||||
Wifi P2P interfaces. If the device doesn't want to support tethering over Wifi P2p this
|
||||
should be empty. An example would be "p2p-p2p.*" -->
|
||||
<string-array translatable="false" name="config_tether_wifi_p2p_regexs">
|
||||
<item>"p2p-p2p\\d-.*"</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Dhcp range (min, max) to use for tethering purposes -->
|
||||
<!-- USB is 192.168.42.1 and 255.255.255.0
|
||||
Wifi is 192.168.43.1 and 255.255.255.0
|
||||
BT is limited to max default of 5 connections. 192.168.44.1 to 192.168.48.1
|
||||
with 255.255.255.0
|
||||
P2P is 192.168.49.1 and 255.255.255.0
|
||||
Wigig is 192.168.50.1 and 255.255.255.0
|
||||
Wigig P2P is 192.168.51.1 and 255.255.255.0
|
||||
-->
|
||||
<string-array name="config_tether_dhcp_range">
|
||||
<item>192.168.42.2</item>
|
||||
<item>192.168.42.254</item>
|
||||
<item>192.168.43.2</item>
|
||||
<item>192.168.43.254</item>
|
||||
<item>192.168.44.2</item>
|
||||
<item>192.168.44.254</item>
|
||||
<item>192.168.45.2</item>
|
||||
<item>192.168.45.254</item>
|
||||
<item>192.168.46.2</item>
|
||||
<item>192.168.46.254</item>
|
||||
<item>192.168.47.2</item>
|
||||
<item>192.168.47.254</item>
|
||||
<item>192.168.48.2</item>
|
||||
<item>192.168.48.254</item>
|
||||
<item>192.168.49.2</item>
|
||||
<item>192.168.49.254</item>
|
||||
<item>192.168.50.2</item>
|
||||
<item>192.168.50.254</item>
|
||||
<item>192.168.51.2</item>
|
||||
<item>192.168.51.254</item>
|
||||
</string-array>
|
||||
|
||||
<!-- This string array should be overridden by the device to present a list of network
|
||||
attributes. This is used by the connectivity manager to decide which networks can coexist
|
||||
based on the hardware -->
|
||||
|
|
|
@ -0,0 +1,82 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2009 The Android Open Source Project
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<!-- These resources are around just to allow their values to be customized
|
||||
for different hardware and product builds. Do not translate. -->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- List of regexpressions describing the interface (if any) that represent tetherable
|
||||
USB interfaces. If the device doesn't want to support tething 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>
|
||||
|
||||
<!-- List of regexpressions describing the interface (if any) that represent tetherable
|
||||
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>"wifi_br0"</item>
|
||||
<item>"wlan0"</item>
|
||||
<item>"wlan1"</item>
|
||||
</string-array>
|
||||
|
||||
<!-- List of regexpressions describing the interface (if any) that represent tetherable
|
||||
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>
|
||||
</string-array>
|
||||
|
||||
<!-- List of regexpressions describing the interface (if any) that represent tetherable
|
||||
Wifi P2P interfaces. If the device doesn't want to support tethering over Wifi P2p this
|
||||
should be empty. An example would be "p2p-p2p.*" -->
|
||||
<string-array translatable="false" name="config_tether_wifi_p2p_regexs">
|
||||
<item>"p2p-p2p\\d-.*"</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Dhcp range (min, max) to use for tethering purposes -->
|
||||
<!-- USB is 192.168.42.1 and 255.255.255.0
|
||||
Wifi is 192.168.43.1 and 255.255.255.0
|
||||
BT is limited to max default of 5 connections. 192.168.44.1 to 192.168.48.1
|
||||
with 255.255.255.0
|
||||
P2P is 192.168.49.1 and 255.255.255.0
|
||||
Wigig is 192.168.50.1 and 255.255.255.0
|
||||
Wigig P2P is 192.168.51.1 and 255.255.255.0
|
||||
-->
|
||||
<string-array name="config_tether_dhcp_range">
|
||||
<item>192.168.42.2</item>
|
||||
<item>192.168.42.254</item>
|
||||
<item>192.168.43.2</item>
|
||||
<item>192.168.43.254</item>
|
||||
<item>192.168.44.2</item>
|
||||
<item>192.168.44.254</item>
|
||||
<item>192.168.45.2</item>
|
||||
<item>192.168.45.254</item>
|
||||
<item>192.168.46.2</item>
|
||||
<item>192.168.46.254</item>
|
||||
<item>192.168.47.2</item>
|
||||
<item>192.168.47.254</item>
|
||||
<item>192.168.48.2</item>
|
||||
<item>192.168.48.254</item>
|
||||
<item>192.168.49.2</item>
|
||||
<item>192.168.49.254</item>
|
||||
<item>192.168.50.2</item>
|
||||
<item>192.168.50.254</item>
|
||||
<item>192.168.51.2</item>
|
||||
<item>192.168.51.254</item>
|
||||
</string-array>
|
||||
</resources>
|
Loading…
Reference in a new issue