diff --git a/android/manifest b/android/manifest index 0a307f9..8b63a4f 100644 --- a/android/manifest +++ b/android/manifest @@ -2,7 +2,7 @@ # this is your module manifest and used by Titanium # during compilation, packaging, distribution, etc. # -version: 4.4.1 +version: 4.4.2 apiversion: 4 architectures: arm64-v8a armeabi-v7a x86 x86_64 description: ti.animation diff --git a/android/src/ti/animation/AnimationView.java b/android/src/ti/animation/AnimationView.java index e7b289c..6e68617 100644 --- a/android/src/ti/animation/AnimationView.java +++ b/android/src/ti/animation/AnimationView.java @@ -436,7 +436,7 @@ void resumeAnimation() { } } - void stopAnimation() { + void stopAnimations() { proxy.setProperty("paused", false); if (animationType == ANIMATION_RIVE) { diff --git a/android/src/ti/animation/AnimationViewProxy.java b/android/src/ti/animation/AnimationViewProxy.java index bca3d4c..8b73ddc 100644 --- a/android/src/ti/animation/AnimationViewProxy.java +++ b/android/src/ti/animation/AnimationViewProxy.java @@ -107,7 +107,7 @@ public boolean handleMessage(Message message) { return true; } case MSG_STOP_ANIMATION: { - getView().stopAnimation(); + getView().stopAnimations(); result.setResult(null); return true; } @@ -166,7 +166,7 @@ public void setAnimationName(Object animationName) { @Kroll.method public void stop() { if (TiApplication.isUIThread()) { - getView().stopAnimation(); + getView().stopAnimations(); } else { TiMessenger.sendBlockingMainMessage(getMainHandler().obtainMessage(MSG_STOP_ANIMATION)); }