Create a new apps page for silky home

- Change recent apps to the list view.
- Remove Conversations, Notifications and Permission manager.
- Remove Wireless emergency alerts and Special app access.
- Show App info preference if there's no recent apps.
- Show general category with recent apps.
- Use this page as the new apps entry on homepage for silky home.
- Make old apps page unsearchable when silky home is enabled.
- Exported new apps page in AndroidManifest.

Bug: 168166015
Bug: 174964405
Test: robotest & visual
Change-Id: I50d35a9d4723612214fce45a9e129fc175bc6831
This commit is contained in:
Yanting Yang
2020-12-17 23:26:49 +08:00
parent 82fa39cfc4
commit 92fce8ede4
11 changed files with 591 additions and 63 deletions

View File

@@ -3205,6 +3205,15 @@
android:value="com.android.settings.applications.AppAndNotificationDashboardFragment"/>
</activity>
<activity
android:name=".Settings$AppDashboardActivity"
android:label="@string/apps_dashboard_title"
android:icon="@drawable/ic_homepage_apps"
android:exported="true">
<meta-data android:name="com.android.settings.FRAGMENT_CLASS"
android:value="com.android.settings.applications.AppDashboardFragment"/>
</activity>
<activity
android:name=".Settings$AccountDashboardActivity"
android:label="@string/account_dashboard_title"