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

Commit 00d0154a authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Clear out position-specific end actions in clearAnimator()." into qt-r1-bubbles-dev

parents ca2b1dc2 6e78ae7e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -619,7 +619,7 @@ public class PhysicsAnimationLayout extends FrameLayout {
         * End actions to call when both TRANSLATION_X and TRANSLATION_Y animations have completed,
         * if {@link #position} was used to animate TRANSLATION_X and TRANSLATION_Y simultaneously.
         */
        private Runnable[] mPositionEndActions;
        @Nullable private Runnable[] mPositionEndActions;

        /**
         * All of the properties that have been set and will animate when {@link #start} is called.
@@ -1086,6 +1086,7 @@ public class PhysicsAnimationLayout extends FrameLayout {
            mDampingRatio = -1;
            mEndActionsForProperty.clear();
            mPathAnimator = null;
            mPositionEndActions = null;
        }

        /**