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

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

Merge "Fix animation jumps in predictive back system animations" into main

parents 599156ec 7fb070ba
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -404,10 +404,10 @@ public class BackAnimationController implements RemoteCallable<BackAnimationCont

    @VisibleForTesting
    void onPilferPointers() {
        mCurrentTracker.updateStartLocation();
        // Dispatch onBackStarted, only to app callbacks.
        // System callbacks will receive onBackStarted when the remote animation starts.
        if (!shouldDispatchToAnimator() && mActiveCallback != null) {
            mCurrentTracker.updateStartLocation();
            tryDispatchAppOnBackStarted(mActiveCallback, mCurrentTracker.createStartEvent(null));
        }
    }