Skip to content

Commit

Permalink
rename internal method
Browse files Browse the repository at this point in the history
  • Loading branch information
m1ga committed Feb 13, 2023
1 parent 2cd6725 commit 4691cd2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion android/manifest
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion android/src/ti/animation/AnimationView.java
Expand Up @@ -436,7 +436,7 @@ void resumeAnimation() {
}
}

void stopAnimation() {
void stopAnimations() {
proxy.setProperty("paused", false);

if (animationType == ANIMATION_RIVE) {
Expand Down
4 changes: 2 additions & 2 deletions android/src/ti/animation/AnimationViewProxy.java
Expand Up @@ -107,7 +107,7 @@ public boolean handleMessage(Message message) {
return true;
}
case MSG_STOP_ANIMATION: {
getView().stopAnimation();
getView().stopAnimations();
result.setResult(null);
return true;
}
Expand Down Expand Up @@ -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));
}
Expand Down

0 comments on commit 4691cd2

Please sign in to comment.