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

Commit e58a66a1 authored by George Mount's avatar George Mount
Browse files

Fix crash in Google TV app caused by animator change

Fix: 274888966

Removed a condition that stopped executing start()
multiple times on the same animator.

Test: android.animator.cts, android.animator, ExpandAndDragToDismissTest
Change-Id: I0e59d73b6e555313d4c00c0390614522f19cc627
parent 2d830c75
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -1118,10 +1118,6 @@ public class ValueAnimator extends Animator implements AnimationHandler.Animatio
        if (Looper.myLooper() == null) {
            throw new AndroidRuntimeException("Animators may only be run on Looper threads");
        }
        if (playBackwards == mResumed && mSelfPulse == !mSuppressSelfPulseRequested && mStarted) {
            // already started
            return;
        }
        mReversing = playBackwards;
        mSelfPulse = !mSuppressSelfPulseRequested;
        // Special case: reversing from seek-to-0 should act as if not seeked at all.