Disable tethering when Data Saver mode is on.
BUG: 28313291 Change-Id: Idbedd440a1baa41f1407b32e86f5ae0080e60798
This commit is contained in:
@@ -2812,6 +2812,8 @@
|
||||
<string name="tether_settings_title_usb_bluetooth">Tethering</string>
|
||||
<!-- Tethering controls, item title to go into the tethering settings when USB, Bluetooth and Wifi tethering are available [CHAR LIMIT=25]-->
|
||||
<string name="tether_settings_title_all">Tethering & portable hotspot</string>
|
||||
<!-- Tethering controls, footer note displayed when tethering is disabled because Data Saver mode is on [CHAR LIMIT=none]-->
|
||||
<string name="tether_settings_disabled_on_data_saver">"Can\u2019t tether or use portable hotspots while Data Saver is on"</string>
|
||||
|
||||
<!-- USB Tethering options -->
|
||||
<string name="usb_title">USB</string>
|
||||
|
||||
@@ -14,7 +14,8 @@
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:settings="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<SwitchPreference
|
||||
android:key="usb_tether_settings"
|
||||
@@ -33,4 +34,9 @@
|
||||
android:key="enable_bluetooth_tethering"
|
||||
android:title="@string/bluetooth_tether_checkbox_text" />
|
||||
|
||||
<com.android.settings.DividerPreference
|
||||
android:key="disabled_on_data_saver"
|
||||
android:summary="@string/tether_settings_disabled_on_data_saver"
|
||||
android:selectable="false"
|
||||
settings:allowDividerAbove="true" />
|
||||
</PreferenceScreen>
|
||||
|
||||
Reference in New Issue
Block a user