weex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ky...@apache.org
Subject [incubator-weex] branch master updated: * [android] Fix String output error (#2515)
Date Thu, 20 Jun 2019 09:17:49 GMT
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 8ea92bd  * [android] Fix String output error (#2515)
8ea92bd is described below

commit 8ea92bdef2712077cf99967fe704e321a6ac54b4
Author: zjutkz <568255592@qq.com>
AuthorDate: Thu Jun 20 17:17:45 2019 +0800

    * [android] Fix String output error (#2515)
---
 .../sdk/src/main/java/com/taobao/weex/bridge/WXBridgeManager.java | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

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 27fead2..8968596 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
@@ -18,8 +18,6 @@
  */
 package com.taobao.weex.bridge;
 
-import static com.taobao.weex.bridge.WXModuleManager.createDomModule;
-
 import android.content.Context;
 import android.net.Uri;
 import android.os.Build;
@@ -34,6 +32,7 @@ import android.support.v4.util.ArrayMap;
 import android.text.TextUtils;
 import android.util.Log;
 import android.util.Pair;
+
 import com.alibaba.fastjson.JSON;
 import com.alibaba.fastjson.JSONArray;
 import com.alibaba.fastjson.JSONObject;
@@ -91,6 +90,7 @@ import com.taobao.weex.utils.WXViewUtils;
 import com.taobao.weex.utils.WXWsonJSONSwitch;
 import com.taobao.weex.utils.batch.BactchExecutor;
 import com.taobao.weex.utils.batch.Interceptor;
+
 import java.io.BufferedReader;
 import java.io.File;
 import java.io.FileInputStream;
@@ -113,6 +113,8 @@ import java.util.concurrent.CountDownLatch;
 import java.util.concurrent.TimeUnit;
 import java.util.regex.Pattern;
 
+import static com.taobao.weex.bridge.WXModuleManager.createDomModule;
+
 /**
  * Manager class for communication between JavaScript and Android.
  * <ol>
@@ -1892,7 +1894,7 @@ public class WXBridgeManager implements Callback, BactchExecutor {
   public int invokeCreateInstanceContext(String instanceId, String namespace, String function,
                                           WXJSObject[] args, boolean logTaskDetail) {
     WXLogUtils.d("invokeCreateInstanceContext instanceId:" + instanceId + " function:"
-            + function + " isJSFrameworkInit´╝Ü%d" + isJSFrameworkInit());
+            + function + String.format(" isJSFrameworkInit´╝Ü%b", isJSFrameworkInit()));
     mLodBuilder.append("createInstanceContext >>>> instanceId:").append(instanceId)
             .append("function:").append(function);
     if (logTaskDetail)


Mime
View raw message