You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by gu...@apache.org on 2017/10/26 04:03:15 UTC
[2/2] incubator-weex git commit: * [android] exception opt,
on debug apk connecting debug server will hold on and wait
initframework, on release will return and use H5 render soon
* [android] exception opt, on debug apk connecting debug server will hold on and wait initframework, on release will return and use H5 render soon
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/6e413271
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/6e413271
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/6e413271
Branch: refs/heads/release-0.16
Commit: 6e413271d3e07775c6a9dcc189ee6404327fefd0
Parents: 0a28f27
Author: yuhun-alibaba <to...@gmail.com>
Authored: Wed Oct 25 17:28:14 2017 +0800
Committer: yuhun-alibaba <to...@gmail.com>
Committed: Wed Oct 25 21:26:25 2017 +0800
----------------------------------------------------------------------
.../sdk/src/main/java/com/taobao/weex/bridge/WXBridgeManager.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/6e413271/android/sdk/src/main/java/com/taobao/weex/bridge/WXBridgeManager.java
----------------------------------------------------------------------
diff --git a/android/sdk/src/main/java/com/taobao/weex/bridge/WXBridgeManager.java b/android/sdk/src/main/java/com/taobao/weex/bridge/WXBridgeManager.java
index 82c526f..3db4972 100644
--- a/android/sdk/src/main/java/com/taobao/weex/bridge/WXBridgeManager.java
+++ b/android/sdk/src/main/java/com/taobao/weex/bridge/WXBridgeManager.java
@@ -1367,7 +1367,7 @@ public class WXBridgeManager implements Callback, BactchExecutor {
return;
}
- if (!isJSFrameworkInit() && reInitCount == 1) {
+ if (!isJSFrameworkInit() && reInitCount == 1 && !WXEnvironment.sDebugServerConnectable) {
instance.onRenderError(WXRenderErrorCode.WX_CREATE_INSTANCE_ERROR, "createInstance fail!");
post(new Runnable() {
@Override