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

Commit c66c046a authored by Doris Liu's avatar Doris Liu Committed by android-build-merger
Browse files

Fix infinite AVD not running

am: 18e08a01

Change-Id: I104389d9264c88999e02a5a7547e3f8c382ce0a9
parents a70315d3 18e08a01
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -156,7 +156,7 @@ void PropertyAnimator::setFraction(float fraction, long iteration) {
    // This makes sure we only set the fraction = repeatCount + 1 once. It is needed because there
    // might be another animator modifying the same property after this animator finishes, we need
    // to make sure we don't set conflicting values on the same property within one frame.
    if ((mLatestFraction == mRepeatCount + 1) && (totalFraction >= mRepeatCount + 1)) {
    if ((mLatestFraction == mRepeatCount + 1.0) && (totalFraction >= mRepeatCount + 1.0)) {
        return;
    }