You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by so...@apache.org on 2017/03/13 07:47:26 UTC
incubator-weex git commit: Revert "* [android] 修复概率性白屏。"
Repository: incubator-weex
Updated Branches:
refs/heads/0.11-dev 09e5b3b9d -> 712ca263b
Revert "* [android] \u4fee\u590d\u6982\u7387\u6027\u767d\u5c4f\u3002"
This reverts commit ae7b08113d56cb3d98fdc63b33d46285c08e3a08.
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/712ca263
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/712ca263
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/712ca263
Branch: refs/heads/0.11-dev
Commit: 712ca263b357906ee15ff75bd0b56381099a5fc9
Parents: 09e5b3b
Author: sospartan <so...@gmail.com>
Authored: Mon Mar 13 15:41:42 2017 +0800
Committer: sospartan <so...@gmail.com>
Committed: Mon Mar 13 15:41:42 2017 +0800
----------------------------------------------------------------------
android/sdk/src/main/java/com/taobao/weex/utils/WXViewUtils.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/712ca263/android/sdk/src/main/java/com/taobao/weex/utils/WXViewUtils.java
----------------------------------------------------------------------
diff --git a/android/sdk/src/main/java/com/taobao/weex/utils/WXViewUtils.java b/android/sdk/src/main/java/com/taobao/weex/utils/WXViewUtils.java
index a1967c8..d7e59eb 100755
--- a/android/sdk/src/main/java/com/taobao/weex/utils/WXViewUtils.java
+++ b/android/sdk/src/main/java/com/taobao/weex/utils/WXViewUtils.java
@@ -277,7 +277,7 @@ public class WXViewUtils {
WXSDKInstance instance = WXSDKManager.getInstance().getSDKInstance(instanceId);
if (instance != null) {
int weexHeight = instance.getWeexHeight();
- if (weexHeight > 0 || weexHeight == -2) {
+ if (weexHeight >= 0 || weexHeight == -2) {
return weexHeight;
}
else {