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

Commit af8c621d authored by Chet Haase's avatar Chet Haase Committed by Android (Google) Code Review
Browse files

Merge "Allow infinite-repeat zero-duration animators to continue repeating" into lmp-mr1-dev

parents e77adabe d15e94f0
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1273,8 +1273,7 @@ public class ValueAnimator extends Animator {
                }
            }
            if (fraction >= 1f) {
                if (mCurrentIteration < mRepeatCount ||
                        (mRepeatCount == INFINITE && mDuration != 0)) {
                if (mCurrentIteration < mRepeatCount || mRepeatCount == INFINITE) {
                    // Time to repeat
                    if (mListeners != null) {
                        int numListeners = mListeners.size();