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

Commit 90450ec7 authored by Lucas Dupin's avatar Lucas Dupin Committed by Android (Google) Code Review
Browse files

Merge "Do not animate sparkles when animations are off" into sc-dev

parents a7e6b948 439036a9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -89,7 +89,7 @@ public final class RippleAnimationSession {
    }

    public boolean shouldAnimateSparkle() {
        return mAnimateSparkle;
        return mAnimateSparkle && ValueAnimator.getDurationScale() > 0;
    }

    public float getSparklePhase() {