Merge "The ValueAnimator's state need to be totally reset during clone."
This commit is contained in:
@@ -1478,6 +1478,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;
|
||||
|
||||
Reference in New Issue
Block a user