Refine behaviors of new app page

- Make the new app page unsearchable when the silky home is disable.
- Add Special app access back since the move action is not confirmed.
- Update preference keys to fix the search conflict with old app page.

Bug: 174964405
Test: robotest & visual on Settings Search
Change-Id: If92b084170ef0694d034ddde786f333b4b576572
This commit is contained in:
Yanting Yang
2021-01-15 20:47:50 +08:00
parent d4ed8b2f81
commit 45b8181f46
3 changed files with 37 additions and 4 deletions

View File

@@ -54,7 +54,7 @@ public class AppsPreferenceController extends BasePreferenceController {
@VisibleForTesting
static final String KEY_GENERAL_CATEGORY = "general_category";
@VisibleForTesting
static final String KEY_ALL_APP_INFO = "all_app_info";
static final String KEY_ALL_APP_INFO = "all_app_infos";
@VisibleForTesting
static final String KEY_SEE_ALL = "see_all_apps";