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

Commit 215234fb authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix predictive back animations jump at beginning of app animations" into main

parents 58089c39 5cc5dc72
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -480,7 +480,9 @@ public class WindowOnBackInvokedDispatcher implements OnBackInvokedDispatcher {
                // reset progress animator before dispatching onBackStarted to callback. This
                // ensures that onBackCancelled (of a previous gesture) is always dispatched
                // before onBackStarted
                if (callback != null) mProgressAnimator.reset();
                if (callback != null && mProgressAnimator.isBackAnimationInProgress()) {
                    mProgressAnimator.reset();
                }
                mTouchTracker.setState(BackTouchTracker.TouchTrackerState.ACTIVE);
                mTouchTracker.setShouldUpdateStartLocation(true);
                mTouchTracker.setGestureStartLocation(