Improved always_on_vpn disabled text
When the admin disallowed config vpn, always-on vpn description was "Disabled by admin", so it was changed to "Controlled by admin" which suits it better. Bug: 29265180 Change-Id: If0da6b9ef3ce7179adeda53203c6caf4e3e9a995
This commit is contained in:
@@ -5295,6 +5295,8 @@
|
||||
<string name="vpn_no_vpns_added">No VPNs added.</string>
|
||||
<!-- Preference summary for active always-on vpn [CHAR LIMIT=40] -->
|
||||
<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] -->
|
||||
<string name="vpn_not_supported_by_this_app">Not supported by this app</string>
|
||||
|
||||
|
||||
@@ -27,7 +27,11 @@
|
||||
android:key="always_on_vpn"
|
||||
android:title="@string/vpn_menu_lockdown"
|
||||
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
|
||||
android:key="forget_vpn"
|
||||
|
||||
Reference in New Issue
Block a user