blob: 23d7df2eb613b44a082f011c7c65799be405452f [file] [log] [blame]
Robert Greenwalt3901edb2010-01-26 10:22:37 -08001<?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 Ling03a3b512017-10-18 14:25:01 -070017<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 Greenwalt3901edb2010-01-26 10:22:37 -080021
Tsung-Mao Fang00956fb2020-11-16 18:13:36 +080022 <com.android.settingslib.widget.TopIntroPreference
23 android:key="tether_prefs_top_intro"
24 settings:searchable="false"/>
25
chenedward91268872018-03-27 10:59:54 +080026 <com.android.settings.widget.FixedLineSummaryPreference
Fan Zhang78d5efd2017-06-06 16:55:53 -070027 android:key="wifi_tether"
Fan Zhang325d28a2017-07-25 13:25:39 -070028 android:title="@string/wifi_hotspot_checkbox_text"
Arc Wang7a216762019-10-14 16:10:07 +080029 android:summary="@string/summary_placeholder"
chenedward91268872018-03-27 10:59:54 +080030 android:fragment="com.android.settings.wifi.tether.WifiTetherSettings"
Tsung-Mao Fang00956fb2020-11-16 18:13:36 +080031 settings:allowDividerAbove="true"
changbettyae1af612021-06-04 17:12:16 +080032 settings:maxLines="2"/>
Fan Zhang78d5efd2017-06-06 16:55:53 -070033
Alex Johnston7d4db752021-01-15 20:46:05 +000034 <com.android.settingslib.RestrictedSwitchPreference
Robert Greenwalt209177a2010-03-04 13:29:02 -080035 android:key="usb_tether_settings"
Doris Ling1e914eb2017-05-30 17:28:06 -070036 android:title="@string/usb_tethering_button_text"
Chilund3358d82018-03-26 18:28:56 +080037 android:summary="@string/usb_tethering_subtext"
38 settings:keywords="@string/keywords_hotspot_tethering" />
Irfan Sheriff65cff172010-02-08 10:46:30 -080039
PauloftheWest656c88c2014-08-24 11:59:35 -070040 <SwitchPreference
Danica Chang32711b62010-08-10 18:41:29 -070041 android:key="enable_bluetooth_tethering"
Doris Ling1e914eb2017-05-30 17:28:06 -070042 android:title="@string/bluetooth_tether_checkbox_text"
Chilund3358d82018-03-26 18:28:56 +080043 android:summary="@string/bluetooth_tethering_subtext"
44 settings:keywords="@string/keywords_hotspot_tethering" />
Danica Chang32711b62010-08-10 18:41:29 -070045
Yuuki Habu557e4572020-02-05 16:24:52 +090046 <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 Mortimer6d46e292019-08-15 15:10:29 -070052 <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 Fangff727ef2021-03-25 13:34:53 +080058 <com.android.settingslib.widget.FooterPreference
Fan Zhangd80117d2017-05-04 11:28:16 -070059 android:key="disabled_on_data_saver"
Tsung-Mao Fangff727ef2021-03-25 13:34:53 +080060 android:title="@string/tether_settings_disabled_on_data_saver"
Fan Zhangd80117d2017-05-04 11:28:16 -070061 android:selectable="false"
Tsung-Mao Fangff727ef2021-03-25 13:34:53 +080062 settings:searchable="false"/>
Robert Greenwalt3901edb2010-01-26 10:22:37 -080063</PreferenceScreen>