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

Commit 43aa5649 authored by android-build-team Robot's avatar android-build-team Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix issue with swipe up canceling recents animation." into pi-dev

parents 3de2854c 2ef27197
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6094,7 +6094,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
        // Cancel any pending remote recents animations before handling the button itself. In the
        // case where we are going home and the recents animation has already started, just cancel
        // the recents animation, leaving the home stack in place for the pending start activity
        if (isNavBarVirtKey && !down) {
        if (isNavBarVirtKey && !down && !canceled) {
            boolean isHomeKey = keyCode == KeyEvent.KEYCODE_HOME;
            mActivityManagerInternal.cancelRecentsAnimation(!isHomeKey);
        }