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

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

Merge "end() a reverse()'d animation correctly" into jb-mr1-dev

parents 51e67a0a 4dd17686
Loading
Loading
Loading
Loading
+1 −7
Original line number Original line Diff line number Diff line
@@ -958,13 +958,7 @@ public class ValueAnimator extends Animator {
        } else if (!mInitialized) {
        } else if (!mInitialized) {
            initAnimation();
            initAnimation();
        }
        }
        // The final value set on the target varies, depending on whether the animation
        animateValue(mPlayingBackwards ? 0f : 1f);
        // was supposed to repeat an odd number of times
        if (mRepeatCount > 0 && (mRepeatCount & 0x01) == 1) {
            animateValue(0f);
        } else {
            animateValue(1f);
        }
        endAnimation(handler);
        endAnimation(handler);
    }
    }