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
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user