Robert Greenwalt | 3901edb | 2010-01-26 10:22:37 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2008 The Android Open Source Project |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | --> |
| 16 | |
Doris Ling | 03a3b51 | 2017-10-18 14:25:01 -0700 | [diff] [blame] | 17 | <PreferenceScreen |
| 18 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 19 | xmlns:settings="http://schemas.android.com/apk/res-auto" |
| 20 | android:title="@string/tether_settings_title_all"> |
Robert Greenwalt | 3901edb | 2010-01-26 10:22:37 -0800 | [diff] [blame] | 21 | |
Tsung-Mao Fang | 00956fb | 2020-11-16 18:13:36 +0800 | [diff] [blame] | 22 | <com.android.settingslib.widget.TopIntroPreference |
| 23 | android:key="tether_prefs_top_intro" |
| 24 | settings:searchable="false"/> |
| 25 | |
chenedward | 9126887 | 2018-03-27 10:59:54 +0800 | [diff] [blame] | 26 | <com.android.settings.widget.FixedLineSummaryPreference |
Fan Zhang | 78d5efd | 2017-06-06 16:55:53 -0700 | [diff] [blame] | 27 | android:key="wifi_tether" |
Fan Zhang | 325d28a | 2017-07-25 13:25:39 -0700 | [diff] [blame] | 28 | android:title="@string/wifi_hotspot_checkbox_text" |
Arc Wang | 7a21676 | 2019-10-14 16:10:07 +0800 | [diff] [blame] | 29 | android:summary="@string/summary_placeholder" |
chenedward | 9126887 | 2018-03-27 10:59:54 +0800 | [diff] [blame] | 30 | android:fragment="com.android.settings.wifi.tether.WifiTetherSettings" |
Tsung-Mao Fang | 00956fb | 2020-11-16 18:13:36 +0800 | [diff] [blame] | 31 | settings:allowDividerAbove="true" |
changbetty | ae1af61 | 2021-06-04 17:12:16 +0800 | [diff] [blame] | 32 | settings:maxLines="2"/> |
Fan Zhang | 78d5efd | 2017-06-06 16:55:53 -0700 | [diff] [blame] | 33 | |
Alex Johnston | 7d4db75 | 2021-01-15 20:46:05 +0000 | [diff] [blame] | 34 | <com.android.settingslib.RestrictedSwitchPreference |
Robert Greenwalt | 209177a | 2010-03-04 13:29:02 -0800 | [diff] [blame] | 35 | android:key="usb_tether_settings" |
Doris Ling | 1e914eb | 2017-05-30 17:28:06 -0700 | [diff] [blame] | 36 | android:title="@string/usb_tethering_button_text" |
Chilun | d3358d8 | 2018-03-26 18:28:56 +0800 | [diff] [blame] | 37 | android:summary="@string/usb_tethering_subtext" |
| 38 | settings:keywords="@string/keywords_hotspot_tethering" /> |
Irfan Sheriff | 65cff17 | 2010-02-08 10:46:30 -0800 | [diff] [blame] | 39 | |
PauloftheWest | 656c88c | 2014-08-24 11:59:35 -0700 | [diff] [blame] | 40 | <SwitchPreference |
Danica Chang | 32711b6 | 2010-08-10 18:41:29 -0700 | [diff] [blame] | 41 | android:key="enable_bluetooth_tethering" |
Doris Ling | 1e914eb | 2017-05-30 17:28:06 -0700 | [diff] [blame] | 42 | android:title="@string/bluetooth_tether_checkbox_text" |
Chilun | d3358d8 | 2018-03-26 18:28:56 +0800 | [diff] [blame] | 43 | android:summary="@string/bluetooth_tethering_subtext" |
| 44 | settings:keywords="@string/keywords_hotspot_tethering" /> |
Danica Chang | 32711b6 | 2010-08-10 18:41:29 -0700 | [diff] [blame] | 45 | |
Yuuki Habu | 557e457 | 2020-02-05 16:24:52 +0900 | [diff] [blame] | 46 | <SwitchPreference |
| 47 | android:key="enable_ethernet_tethering" |
| 48 | android:title="@string/ethernet_tether_checkbox_text" |
| 49 | android:summary="@string/ethernet_tethering_subtext" |
| 50 | settings:keywords="@string/keywords_hotspot_tethering" /> |
| 51 | |
Sam Mortimer | 6d46e29 | 2019-08-15 15:10:29 -0700 | [diff] [blame] | 52 | <lineageos.preference.LineageSecureSettingSwitchPreference |
| 53 | android:key="tethering_allow_vpn_upstreams" |
| 54 | android:title="@string/tethering_allow_vpn_upstreams_title" |
| 55 | android:summary="@string/tethering_allow_vpn_upstreams_summary" |
| 56 | android:defaultValue="false" /> |
| 57 | |
Tsung-Mao Fang | ff727ef | 2021-03-25 13:34:53 +0800 | [diff] [blame] | 58 | <com.android.settingslib.widget.FooterPreference |
Fan Zhang | d80117d | 2017-05-04 11:28:16 -0700 | [diff] [blame] | 59 | android:key="disabled_on_data_saver" |
Tsung-Mao Fang | ff727ef | 2021-03-25 13:34:53 +0800 | [diff] [blame] | 60 | android:title="@string/tether_settings_disabled_on_data_saver" |
Fan Zhang | d80117d | 2017-05-04 11:28:16 -0700 | [diff] [blame] | 61 | android:selectable="false" |
Tsung-Mao Fang | ff727ef | 2021-03-25 13:34:53 +0800 | [diff] [blame] | 62 | settings:searchable="false"/> |
Robert Greenwalt | 3901edb | 2010-01-26 10:22:37 -0800 | [diff] [blame] | 63 | </PreferenceScreen> |