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

Commit 523fc719 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

Change-Id: I60991d65d50f29ae10977d0234640f9386628838
parents 1a8ddced 43aa5649
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);
        }