You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by ky...@apache.org on 2018/06/27 08:27:48 UTC

[4/6] incubator-weex git commit: [WEEX-342][android] when animation module or transition parser properties, some propers may be not right, so add try catch to handle the exceptions

[WEEX-342][android] when animation module or transition parser properties, some propers may be not right, so add try catch to handle the exceptions


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/e61ba4d1
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/e61ba4d1
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/e61ba4d1

Branch: refs/heads/master
Commit: e61ba4d1e1e6e6eee5caef8903bf971c82c33d8e
Parents: 9927930
Author: jianbai.gbj <ji...@alibaba-inc.com>
Authored: Wed Jun 27 16:14:05 2018 +0800
Committer: jianbai.gbj <ji...@alibaba-inc.com>
Committed: Wed Jun 27 16:14:05 2018 +0800

----------------------------------------------------------------------
 .../java/com/taobao/weex/ui/action/GraphicActionAnimation.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/e61ba4d1/android/sdk/src/main/java/com/taobao/weex/ui/action/GraphicActionAnimation.java
----------------------------------------------------------------------
diff --git a/android/sdk/src/main/java/com/taobao/weex/ui/action/GraphicActionAnimation.java b/android/sdk/src/main/java/com/taobao/weex/ui/action/GraphicActionAnimation.java
index fbbb906..633d5c2 100644
--- a/android/sdk/src/main/java/com/taobao/weex/ui/action/GraphicActionAnimation.java
+++ b/android/sdk/src/main/java/com/taobao/weex/ui/action/GraphicActionAnimation.java
@@ -116,7 +116,7 @@ public class GraphicActionAnimation extends BasicGraphicAction {
         mAnimationBean.styles.init(mAnimationBean.styles.transformOrigin,
             mAnimationBean.styles.transform, (int) component.getLayoutWidth(),
             (int) component.getLayoutHeight(),
-            instance.getInstanceViewPortWidth());
+            instance.getInstanceViewPortWidth(), instance);
       }
       startAnimation(instance, component);
     }