Use DashboardFeatureProvider to load homepage tiles.
Adding support to homepage category.
Test: SettingsRoboTests for regression. Will write tests for new feature
soon once we are set on the data structure.
Bug: 31781480
Change-Id: I25fa367fecb643f17e23f0182df7585bf1fcdd02
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 7034dc3..fd22c63 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -2275,6 +2275,8 @@
</intent-filter>
<meta-data android:name="com.android.settings.category"
android:value="com.android.settings.category.device" />
+ <meta-data android:name="com.android.settings.iacategory"
+ android:value="com.android.settings.category.homepage" />
<meta-data android:name="com.android.settings.FRAGMENT_CLASS"
android:value="com.android.settings.fuelgauge.PowerUsageSummary" />
</activity>
@@ -3030,6 +3032,22 @@
android:value="com.android.settings.deletionhelper.AutomaticStorageManagerSettings" />
</activity>
+ <!-- Information architecture host activities -->
+ <activity
+ android:name=".Settings$SupportActivity"
+ android:label="@string/page_tab_title_support"
+ android:icon="@drawable/ic_help_24dp">
+ <intent-filter android:priority="-1">
+ <action android:name="com.android.settings.action.SETTINGS" />
+ </intent-filter>
+ <meta-data android:name="com.android.settings.iacategory"
+ android:value="com.android.settings.category.homepage" />
+ <meta-data android:name="com.android.settings.FRAGMENT_CLASS"
+ android:value="com.android.settings.dashboard.SupportFragment"/>
+ <meta-data android:name="com.android.settings.summary"
+ android:resource="@string/help_label" />
+ </activity>
+
<service
android:name=".SettingsDumpService"
android:exported="true"