Use FooterPreference in xml to replace the header
Fixes: 141450664 Test: manual test Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.enterprise Change-Id: Ia6ec0e363b9a472ff104ffbc529856a21840af27
This commit is contained in:
@@ -19,13 +19,6 @@
|
||||
android:key="enterprise_privacy_settings"
|
||||
android:title="@string/enterprise_privacy_settings">
|
||||
|
||||
<!-- Header -->
|
||||
<Preference android:key="enterprise_privacy_header"
|
||||
android:order="100"
|
||||
android:icon="@drawable/ic_info_outline_24dp"
|
||||
android:summary="@string/enterprise_privacy_header"
|
||||
android:selectable="false"/>
|
||||
|
||||
<PreferenceCategory android:key="exposure_category"
|
||||
android:order="200"
|
||||
android:title="@string/enterprise_privacy_exposure_category"
|
||||
@@ -125,4 +118,10 @@
|
||||
android:title="@string/enterprise_privacy_failed_password_wipe_work"
|
||||
android:selectable="false"/>
|
||||
</PreferenceCategory>
|
||||
|
||||
<com.android.settingslib.widget.FooterPreference
|
||||
android:key="enterprise_privacy_footer"
|
||||
android:title="@string/enterprise_privacy_header"
|
||||
android:selectable="false"
|
||||
settings:searchable="false"/>
|
||||
</PreferenceScreen>
|
||||
|
||||
Reference in New Issue
Block a user