Update strings and layout for enterprise privacy
This CL continues the finalization of UI layout and strings for the enterprise privacy page: * Turn footer into a header * Update strings * Dynamically generate summaries for entry points in security page Bug: 32692748 Test: m RunSettingsRoboTests Change-Id: Ibf248ac269380fb1b919b01f88f721130060b7f9
This commit is contained in:
@@ -17,7 +17,13 @@
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
|
||||
android:key="enterprise_privacy_settings"
|
||||
android:title="@string/enterprise_privacy_settings_title">
|
||||
android:title="@string/enterprise_privacy_settings">
|
||||
|
||||
<!-- Header -->
|
||||
<Preference
|
||||
android:icon="@drawable/ic_info_outline_24dp"
|
||||
android:summary="@string/enterprise_privacy_header"
|
||||
android:selectable="false"/>
|
||||
|
||||
<PreferenceCategory android:title="@string/enterprise_privacy_exposure_category">
|
||||
<com.android.settings.DividerPreference
|
||||
@@ -107,8 +113,4 @@
|
||||
android:key="failed_password_wipe_managed_profile"
|
||||
settings:multiLine="true"/>
|
||||
</PreferenceCategory>
|
||||
|
||||
<com.android.settings.widget.FooterPreference
|
||||
android:title="@string/enterprise_privacy_footer"
|
||||
android:selectable="false"/>
|
||||
</PreferenceScreen>
|
||||
|
||||
@@ -39,13 +39,11 @@
|
||||
|
||||
<Preference android:key="manage_device_admin"
|
||||
android:title="@string/manage_device_admin"
|
||||
android:summary="@string/manage_device_admin_summary"
|
||||
android:persistent="false"
|
||||
android:fragment="com.android.settings.DeviceAdminSettings"/>
|
||||
|
||||
<Preference android:key="enterprise_privacy"
|
||||
android:title="@string/enterprise_privacy_settings"
|
||||
android:summary="@string/enterprise_privacy_settings_summary"
|
||||
android:persistent="false"
|
||||
android:fragment="com.android.settings.enterprise.EnterprisePrivacySettings"/>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user