Merge "Do not animate sparkles when animations are off" into sc-dev
This commit is contained in:
@@ -89,7 +89,7 @@ public final class RippleAnimationSession {
|
||||
}
|
||||
|
||||
public boolean shouldAnimateSparkle() {
|
||||
return mAnimateSparkle;
|
||||
return mAnimateSparkle && ValueAnimator.getDurationScale() > 0;
|
||||
}
|
||||
|
||||
public float getSparklePhase() {
|
||||
|
||||
Reference in New Issue
Block a user