Merge "Prevent receive extra callbacks from AnimatorListener." into sc-v2-dev am: 26f39bdc52
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16115981 Change-Id: I5cad854c8f12b75f10a3495478811db44701eaee
This commit is contained in:
@@ -314,7 +314,7 @@ public class SplashscreenIconDrawableFactory {
|
||||
|
||||
@Override
|
||||
public void stopAnimation() {
|
||||
if (mIconAnimator != null) {
|
||||
if (mIconAnimator != null && mIconAnimator.isRunning()) {
|
||||
mIconAnimator.end();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user