Merge "DO NOT MERGE: The ValueAnimator's state need to be totally reset during clone." into lmp-mr1-modular-dev
This commit is contained in:
@@ -1389,6 +1389,12 @@ public class ValueAnimator extends Animator {
|
|||||||
anim.mInitialized = false;
|
anim.mInitialized = false;
|
||||||
anim.mPlayingState = STOPPED;
|
anim.mPlayingState = STOPPED;
|
||||||
anim.mStartedDelay = false;
|
anim.mStartedDelay = false;
|
||||||
|
anim.mStarted = false;
|
||||||
|
anim.mRunning = false;
|
||||||
|
anim.mPaused = false;
|
||||||
|
anim.mResumed = false;
|
||||||
|
anim.mStartListenersCalled = false;
|
||||||
|
|
||||||
PropertyValuesHolder[] oldValues = mValues;
|
PropertyValuesHolder[] oldValues = mValues;
|
||||||
if (oldValues != null) {
|
if (oldValues != null) {
|
||||||
int numValues = oldValues.length;
|
int numValues = oldValues.length;
|
||||||
|
|||||||
Reference in New Issue
Block a user