mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 18:58:19 +00:00
Merge "Hide keyboard when transitioning from all-apps state to overview state." into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
687c6e415c
@@ -227,7 +227,7 @@ public class AllAppsTransitionController
|
||||
@Override
|
||||
public void setStateWithAnimation(LauncherState toState,
|
||||
StateAnimationConfig config, PendingAnimation builder) {
|
||||
if (NORMAL.equals(toState) && mLauncher.isInState(ALL_APPS)) {
|
||||
if (mLauncher.isInState(ALL_APPS) && !ALL_APPS.equals(toState)) {
|
||||
builder.addEndListener(success -> {
|
||||
// Reset pull back progress and alpha after switching states.
|
||||
ALL_APPS_PULL_BACK_TRANSLATION.set(this, 0f);
|
||||
|
||||
Reference in New Issue
Block a user