Merge "Prevent receive extra callbacks from AnimatorListener." into sc-v2-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
26f39bdc52
@@ -314,7 +314,7 @@ public class SplashscreenIconDrawableFactory {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void stopAnimation() {
|
public void stopAnimation() {
|
||||||
if (mIconAnimator != null) {
|
if (mIconAnimator != null && mIconAnimator.isRunning()) {
|
||||||
mIconAnimator.end();
|
mIconAnimator.end();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user