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

Commit 612e5cde authored by ztenghui's avatar ztenghui Committed by Joe LaPenna
Browse files

DO NOT MERGE: The ValueAnimator's state need to be totally reset during clone.

b/20119270

Change-Id: I26365b38e4a9712227aaec6f08f32025dab82ac7
(cherry picked from commit 26e9a199)
parent 2fdd83a9
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1389,6 +1389,12 @@ public class ValueAnimator extends Animator {
        anim.mInitialized = false;
        anim.mPlayingState = STOPPED;
        anim.mStartedDelay = false;
        anim.mStarted = false;
        anim.mRunning = false;
        anim.mPaused = false;
        anim.mResumed = false;
        anim.mStartListenersCalled = false;

        PropertyValuesHolder[] oldValues = mValues;
        if (oldValues != null) {
            int numValues = oldValues.length;