Settings: Add hotspot setting to allow VPN upstreams
Co-Authored-By: Sage Cheng <sagecheng@calyxinstitute.org> Change-Id: I34924fe8e60e3d492f219aa6d0ffa54f0bd46e38
This commit is contained in:
committed by
Michael Bestas
parent
5df9be2540
commit
49fbdbe055
@@ -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">Use VPN for connected devices</string>
|
||||
<string name="tethering_allow_vpn_upstreams_summary">When this device is using a VPN, all devices connected to the hotspot will use the same VPN</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>
|
||||
|
||||
@@ -48,6 +48,12 @@
|
||||
android:summary="@string/ethernet_tethering_subtext"
|
||||
settings:keywords="@string/keywords_hotspot_tethering" />
|
||||
|
||||
<lineageos.preference.SecureSettingSwitchPreference
|
||||
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"
|
||||
|
||||
Reference in New Issue
Block a user