Introduce feature education for AllApps Search

Preview: https://drive.google.com/file/d/1eXf3K6kFh0bHcYlpwW_voSRjY9RQalJN/view?usp=sharing&resourcekey=0-IABjrtXM5JhHvSf-7yc4tg

Edu can be dismissed permanently by pressing "Got it" button or typing. Swiping down defers edu until next visit to all apps

- Move fallback search to quickstep
Bug: 178100472
Test: Manual

Change-Id: I920aab366330758e81f8b9fa62736abf82fe5cac
This commit is contained in:
Samuel Fufa committed 2021-01-25 15:17:34 -06:00
1 parent 867b62a2d0
commit 062a8fd979
10 files changed
+520 -9

No files matched your search

@@ -270,11 +270,10 @@ public class AllAppsTransitionController implements StateHandler<LauncherState>,
if (Float.compare(mProgress, 0f) == 0) {
mLauncher.getLiveSearchManager().start();
EditText editText = mAppsView.getSearchUiManager().getEditText();
if (editText != null) {
if (editText != null && !mInsetController.showSearchEduIfNecessary()) {
editText.requestFocus();
}
}
else {
} else {
mLauncher.getLiveSearchManager().stop();
}
// TODO: should make the controller hide synchronously