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

Commit 7fb070ba authored by Johannes Gallmann's avatar Johannes Gallmann
Browse files

Fix animation jumps in predictive back system animations

Bug: 326039797
Flag: ACONFIG com.android.systemui.predictive_back_system_animations TEAMFOOD
Test: Manual, i.e. verifying that animation progress doesn't jump cut during predictive back gestures
Change-Id: Ia50410a7af55cdfb987d039cc45e656cb20a889e
parent 4457e6e8
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));
        }
    }