Merge "Add controller to Advanced category in Apps page" into udc-qpr-dev am: 963869ecda am: 641b310890
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/24937325
Change-Id: I0ccca7ab6beed64a51efa56e7a7dd4a26adbce94
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/res/xml/apps.xml b/res/xml/apps.xml
index 90c40a6..85d187c 100644
--- a/res/xml/apps.xml
+++ b/res/xml/apps.xml
@@ -112,18 +112,20 @@
android:title="@string/advanced_apps"
android:order="21"
android:visibility="gone"
- settings:searchable="false"/>
+ settings:searchable="false"
+ settings:controller="com.android.settings.widget.PreferenceCategoryController">
- <Preference
- android:key="aspect_ratio_apps"
- android:title="@string/aspect_ratio_experimental_title"
- android:summary="@string/summary_placeholder"
- android:order="22"
- settings:controller="com.android.settings.applications.appcompat.UserAspectRatioAppsPreferenceController"
- android:fragment="com.android.settings.applications.manageapplications.ManageApplications">
- <extra android:name="classname"
- android:value="com.android.settings.Settings$UserAspectRatioAppListActivity"/>
- <intent android:action="android.settings.MANAGE_USER_ASPECT_RATIO_SETTINGS"/>
- </Preference>
+ <Preference
+ android:key="aspect_ratio_apps"
+ android:title="@string/aspect_ratio_experimental_title"
+ android:summary="@string/summary_placeholder"
+ android:order="22"
+ settings:controller="com.android.settings.applications.appcompat.UserAspectRatioAppsPreferenceController"
+ android:fragment="com.android.settings.applications.manageapplications.ManageApplications">
+ <extra android:name="classname"
+ android:value="com.android.settings.Settings$UserAspectRatioAppListActivity"/>
+ <intent android:action="android.settings.MANAGE_USER_ASPECT_RATIO_SETTINGS"/>
+ </Preference>
+ </PreferenceCategory>
</PreferenceScreen>