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

Commit 516e7537 authored by Johannes Gallmann's avatar Johannes Gallmann Committed by Android (Google) Code Review
Browse files

Merge "Start back gesture tracking in BAC on ACTION_DOWN" into main

parents 6c2283c6 aa4f1311
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -507,10 +507,14 @@ public class BackAnimationController implements RemoteCallable<BackAnimationCont
                        onThresholdCrossed();
                    }
                    mShouldStartOnNextMoveEvent = false;
                } else {
                    if (predictiveBackDelayWmTransition()) {
                        onGestureStarted(touchX, touchY, swipeEdge);
                    } else {
                        mShouldStartOnNextMoveEvent = true;
                    }
                }
            }
        } else if (keyAction == MotionEvent.ACTION_MOVE) {
            if (!mBackGestureStarted && mShouldStartOnNextMoveEvent) {
                // Let the animation initialized here to make sure the onPointerDownOutsideFocus