This is an automated email from the ASF dual-hosted git repository. kyork pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-weex.git
The following commit(s) were added to refs/heads/master by this push: new 8e400ce [WEEX][Android] Fix Image Bright When ReBind The Same Image In Some Image Framework (#1948) 8e400ce is described below commit 8e400ce5c539c738e4fe8f55328a0289b03bd2cd Author: codefurture <gubaoj...@163.com> AuthorDate: Fri Dec 21 16:08:46 2018 +0800 [WEEX][Android] Fix Image Bright When ReBind The Same Image In Some Image Framework (#1948) --- android/sdk/src/main/java/com/taobao/weex/ui/component/WXImage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/sdk/src/main/java/com/taobao/weex/ui/component/WXImage.java b/android/sdk/src/main/java/com/taobao/weex/ui/component/WXImage.java index 11a79c1..020a81d 100644 --- a/android/sdk/src/main/java/com/taobao/weex/ui/component/WXImage.java +++ b/android/sdk/src/main/java/com/taobao/weex/ui/component/WXImage.java @@ -231,7 +231,7 @@ public class WXImage extends WXComponent<ImageView> { } if(image != null){ - if(image.getDrawable() != null){ + if(image.getDrawable() != null && !TextUtils.equals(mSrc, src)){ image.setImageDrawable(null); } }