Settings: Add hotspot setting to allow VPN upstreams

Change-Id: I34924fe8e60e3d492f219aa6d0ffa54f0bd46e38
This commit is contained in:
Sam Mortimer 2019-08-15 15:10:29 -07:00 committed by Michael Bestas
parent f0d36b8f95
commit 70e41c7a25
No known key found for this signature in database
2 changed files with 10 additions and 0 deletions

View file

@ -40,6 +40,10 @@
<string name="status_bar_double_tap_to_sleep_title">Tap to sleep</string>
<string name="status_bar_double_tap_to_sleep_summary">Double-tap on the status bar or lockscreen to turn off the display</string>
<!-- Hotspot extras -->
<string name="tethering_allow_vpn_upstreams_title">Allow clients to use VPNs</string>
<string name="tethering_allow_vpn_upstreams_summary">Permit hotspot clients to use this device\u2019s VPN connections for upstream connectivity</string>
<!-- Lock screen pattern size -->
<string name="lock_pattern_size_3" translatable="false">3 \u00d7 3</string>
<string name="lock_pattern_size_4" translatable="false">4 \u00d7 4</string>

View file

@ -49,6 +49,12 @@
android:summary="@string/ethernet_tethering_subtext"
settings:keywords="@string/keywords_hotspot_tethering" />
<lineageos.preference.LineageSecureSettingSwitchPreference
android:key="tethering_allow_vpn_upstreams"
android:title="@string/tethering_allow_vpn_upstreams_title"
android:summary="@string/tethering_allow_vpn_upstreams_summary"
android:defaultValue="false" />
<com.android.settingslib.widget.FooterPreference
android:key="disabled_on_data_saver"
android:title="@string/tether_settings_disabled_on_data_saver"