Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c73b653e authored by Schneider Victor-tulias's avatar Schneider Victor-tulias Committed by Android (Google) Code Review
Browse files

Merge "Fix home animation jank when quickly pressing home button" into udc-qpr-dev

parents 2a8a40c4 3913e297
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1663,7 +1663,8 @@ public class Launcher extends StatefulActivity<LauncherState>
        if (isActionMain) {
            if (!internalStateHandled) {
                // In all these cases, only animate if we're already on home
                closeOpenViews(isStarted());
                AbstractFloatingView.closeAllOpenViewsExcept(
                        this, isStarted(), AbstractFloatingView.TYPE_LISTENER);

                if (!isInState(NORMAL)) {
                    // Only change state, if not already the same. This prevents cancelling any