Merge "Improved always_on_vpn disabled text"
This commit is contained in:
@@ -5295,6 +5295,8 @@
|
|||||||
<string name="vpn_no_vpns_added">No VPNs added.</string>
|
<string name="vpn_no_vpns_added">No VPNs added.</string>
|
||||||
<!-- Preference summary for active always-on vpn [CHAR LIMIT=40] -->
|
<!-- Preference summary for active always-on vpn [CHAR LIMIT=40] -->
|
||||||
<string name="vpn_always_on_active">Always-on active</string>
|
<string name="vpn_always_on_active">Always-on active</string>
|
||||||
|
<!-- Preference summary for inactive always-on vpn [CHAR LIMIT=40] -->
|
||||||
|
<string name="vpn_always_on_inactive">Always-on inactive</string>
|
||||||
<!-- Preference summary for app not supporting always-on vpn [CHAR LIMIT=NONE] -->
|
<!-- Preference summary for app not supporting always-on vpn [CHAR LIMIT=NONE] -->
|
||||||
<string name="vpn_not_supported_by_this_app">Not supported by this app</string>
|
<string name="vpn_not_supported_by_this_app">Not supported by this app</string>
|
||||||
|
|
||||||
|
|||||||
@@ -27,7 +27,11 @@
|
|||||||
android:key="always_on_vpn"
|
android:key="always_on_vpn"
|
||||||
android:title="@string/vpn_menu_lockdown"
|
android:title="@string/vpn_menu_lockdown"
|
||||||
android:defaultValue="false"
|
android:defaultValue="false"
|
||||||
settings:userRestriction="no_config_vpn"/>
|
android:summaryOn="@string/vpn_always_on_active"
|
||||||
|
android:summaryOff="@string/vpn_always_on_inactive"
|
||||||
|
settings:userRestriction="no_config_vpn"
|
||||||
|
settings:useAdditionalSummary="true"
|
||||||
|
settings:restrictedSwitchSummary="@string/disabled_by_admin_summary_text" />
|
||||||
|
|
||||||
<com.android.settings.DimmableIconPreference
|
<com.android.settings.DimmableIconPreference
|
||||||
android:key="forget_vpn"
|
android:key="forget_vpn"
|
||||||
|
|||||||
Reference in New Issue
Block a user