mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 17:36:49 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user