Fix testSearchDeadzoneForTablets failure

Bug: 239868630
Bug: 240116666
Test: testSearchDeadzoneForTablets passes

Change-Id: I8b20cf56191058b6033ae929be6726a2c88825c8
This commit is contained in:
hyunyoungs
2022-07-22 13:16:21 -07:00
committed by Alex Chau
parent 4726b4fc21
commit 4ba188aa5f

View File

@@ -234,6 +234,7 @@ public class AllAppsTransitionController
// Reset pull back progress and alpha after switching states.
ALL_APPS_PULL_BACK_TRANSLATION.set(this, 0f);
ALL_APPS_PULL_BACK_ALPHA.set(this, 1f);
mLauncher.getAppsView().getSearchUiManager().getEditText().hideKeyboard();
});
}
@@ -241,7 +242,6 @@ public class AllAppsTransitionController
if (Float.compare(mProgress, targetProgress) == 0) {
setAlphas(toState, config, builder);
// Fail fast
onProgressAnimationEnd();
return;
}