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 2019/07/22 04:13:22 UTC
[incubator-weex] branch master updated: [Android] close runtimeApi
mode for performance issue. and will reopen when issue fixed (#2736)
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 222cdce [Android] close runtimeApi mode for performance issue. and will reopen when issue fixed (#2736)
222cdce is described below
commit 222cdce62ebc0dbccb38aacccec65ec4fe40fb3b
Author: chen <lu...@users.noreply.github.com>
AuthorDate: Mon Jul 22 12:13:16 2019 +0800
[Android] close runtimeApi mode for performance issue. and will reopen when issue fixed (#2736)
---
android/sdk/build.gradle | 2 +-
android/sdk/src/main/java/com/taobao/weex/utils/WXSoInstallMgrSdk.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/android/sdk/build.gradle b/android/sdk/build.gradle
index 6363fd5..f757b04 100755
--- a/android/sdk/build.gradle
+++ b/android/sdk/build.gradle
@@ -117,7 +117,7 @@ android {
def android_project_dir = projectDir
- def buildRuntimeApi = project.hasProperty('buildRuntimeApi') ? project.property('buildRuntimeApi') : true
+ def buildRuntimeApi = project.hasProperty('buildRuntimeApi') ? project.property('buildRuntimeApi') : false
defaultConfig {
buildConfigField "String", "buildJavascriptFrameworkVersion", "\"${jsfmVersion}\""
diff --git a/android/sdk/src/main/java/com/taobao/weex/utils/WXSoInstallMgrSdk.java b/android/sdk/src/main/java/com/taobao/weex/utils/WXSoInstallMgrSdk.java
index 7edb3f8..9205b8d 100644
--- a/android/sdk/src/main/java/com/taobao/weex/utils/WXSoInstallMgrSdk.java
+++ b/android/sdk/src/main/java/com/taobao/weex/utils/WXSoInstallMgrSdk.java
@@ -291,7 +291,7 @@ public class WXSoInstallMgrSdk {
}
public static void copyJssRuntimeSo(){
- boolean tryUseRunTimeApi = WXUtils.checkGreyConfig("wxapm","use_runtime_api","100");
+ boolean tryUseRunTimeApi = WXUtils.checkGreyConfig("wxapm","use_runtime_api","0");
WXLogUtils.e("weex", "tryUseRunTimeApi ? "+ tryUseRunTimeApi);
if (!tryUseRunTimeApi){
return;