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

Commit 34efbced authored by Chet Haase's avatar Chet Haase Committed by android-build-merger
Browse files

am af8c621d: Merge "Allow infinite-repeat zero-duration animators to continue...

am af8c621d: Merge "Allow infinite-repeat zero-duration animators to continue repeating" into lmp-mr1-dev automerge: 458cc6a5
automerge: f647cde8

* commit 'f647cde8':
  Allow infinite-repeat zero-duration animators to continue repeating
parents 54394566 f647cde8
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -1289,8 +1289,7 @@ public class ValueAnimator extends Animator {
                }
                }
            }
            }
            if (fraction >= 1f) {
            if (fraction >= 1f) {
                if (mCurrentIteration < mRepeatCount ||
                if (mCurrentIteration < mRepeatCount || mRepeatCount == INFINITE) {
                        (mRepeatCount == INFINITE && mDuration != 0)) {
                    // Time to repeat
                    // Time to repeat
                    if (mListeners != null) {
                    if (mListeners != null) {
                        int numListeners = mListeners.size();
                        int numListeners = mListeners.size();