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

Commit d67c432e authored by android-build-team Robot's avatar android-build-team Robot Committed by android-build-merger
Browse files

Merge "Fix issue with swipe up canceling recents animation." into pi-dev am: 43aa5649

am: 523fc719

Change-Id: I5de1862ed3b93ab8b1217b381ba7cdef3dc2e163
parents 23719d23 523fc719
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);
        }