Merge "Prevent receive extra callbacks from AnimatorListener." into sc-v2-dev

This commit is contained in:
Wei Sheng Shih
2021-10-26 05:12:02 +00:00
committed by Android (Google) Code Review

View File

@@ -314,7 +314,7 @@ public class SplashscreenIconDrawableFactory {
@Override
public void stopAnimation() {
if (mIconAnimator != null) {
if (mIconAnimator != null && mIconAnimator.isRunning()) {
mIconAnimator.end();
}
}