Merge "Add additional summaries for some restricted switch preferences." into nyc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
cdb089c96d
@@ -15,6 +15,7 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<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/com.android.settings"
|
||||||
android:title="@string/security_settings_title">
|
android:title="@string/security_settings_title">
|
||||||
|
|
||||||
<PreferenceCategory android:key="sim_lock"
|
<PreferenceCategory android:key="sim_lock"
|
||||||
@@ -54,7 +55,8 @@
|
|||||||
<com.android.settingslib.RestrictedSwitchPreference android:key="toggle_install_applications"
|
<com.android.settingslib.RestrictedSwitchPreference android:key="toggle_install_applications"
|
||||||
android:title="@string/install_applications"
|
android:title="@string/install_applications"
|
||||||
android:summaryOff="@string/install_unknown_applications"
|
android:summaryOff="@string/install_unknown_applications"
|
||||||
android:summaryOn="@string/install_unknown_applications" />
|
android:summaryOn="@string/install_unknown_applications"
|
||||||
|
settings:useAdditionalSummary="true" />
|
||||||
|
|
||||||
</PreferenceCategory>
|
</PreferenceCategory>
|
||||||
|
|
||||||
|
@@ -34,7 +34,8 @@
|
|||||||
<com.android.settingslib.RestrictedSwitchPreference
|
<com.android.settingslib.RestrictedSwitchPreference
|
||||||
android:key="add_users_when_locked"
|
android:key="add_users_when_locked"
|
||||||
android:title="@string/user_add_on_lockscreen_menu"
|
android:title="@string/user_add_on_lockscreen_menu"
|
||||||
android:summary="@string/user_add_on_lockscreen_menu_summary" />
|
android:summary="@string/user_add_on_lockscreen_menu_summary"
|
||||||
|
settings:useAdditionalSummary="true" />
|
||||||
</PreferenceCategory>
|
</PreferenceCategory>
|
||||||
<Preference
|
<Preference
|
||||||
android:key="emergency_info"
|
android:key="emergency_info"
|
||||||
|
Reference in New Issue
Block a user