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 2018/05/21 09:20:38 UTC
incubator-weex git commit: [WEEX-380][Android] Fix weex show
abnormally in single process
Repository: incubator-weex
Updated Branches:
refs/heads/master 2539b94ff -> 8ad1de43e
[WEEX-380][Android] Fix weex show abnormally in single process
Some page display abnormally in single process for missing
some env parameters
Bug: WEEX-380
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/8ad1de43
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/8ad1de43
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/8ad1de43
Branch: refs/heads/master
Commit: 8ad1de43e921cd61d4e3059a032ae363d529ba9f
Parents: 2539b94
Author: darin <dy...@qq.com>
Authored: Mon May 21 16:38:20 2018 +0800
Committer: darin <dy...@qq.com>
Committed: Mon May 21 16:38:20 2018 +0800
----------------------------------------------------------------------
android/sdk/libs/armeabi/libweexjsc.so | Bin 1320820 -> 620328 bytes
.../jsengine/multiprocess/WeexJSConnection.cpp | 1 +
.../android/jsengine/multiprocess/WeexProxy.cpp | 3 +++
3 files changed, 4 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8ad1de43/android/sdk/libs/armeabi/libweexjsc.so
----------------------------------------------------------------------
diff --git a/android/sdk/libs/armeabi/libweexjsc.so b/android/sdk/libs/armeabi/libweexjsc.so
index eb909cd..3eba4c5 100644
Binary files a/android/sdk/libs/armeabi/libweexjsc.so and b/android/sdk/libs/armeabi/libweexjsc.so differ
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8ad1de43/weex_core/Source/android/jsengine/multiprocess/WeexJSConnection.cpp
----------------------------------------------------------------------
diff --git a/weex_core/Source/android/jsengine/multiprocess/WeexJSConnection.cpp b/weex_core/Source/android/jsengine/multiprocess/WeexJSConnection.cpp
index 52ee1d4..34ac0bd 100644
--- a/weex_core/Source/android/jsengine/multiprocess/WeexJSConnection.cpp
+++ b/weex_core/Source/android/jsengine/multiprocess/WeexJSConnection.cpp
@@ -32,6 +32,7 @@
#include <IPC/IPCSender.h>
#include <unistd.h>
#include <android/base/log_utils.h>
+#include <errno.h>
extern const char *s_cacheDir;
extern bool s_start_pie;
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8ad1de43/weex_core/Source/android/jsengine/multiprocess/WeexProxy.cpp
----------------------------------------------------------------------
diff --git a/weex_core/Source/android/jsengine/multiprocess/WeexProxy.cpp b/weex_core/Source/android/jsengine/multiprocess/WeexProxy.cpp
index e8f41ba..316644b 100644
--- a/weex_core/Source/android/jsengine/multiprocess/WeexProxy.cpp
+++ b/weex_core/Source/android/jsengine/multiprocess/WeexProxy.cpp
@@ -26,6 +26,7 @@
#include <core/api/WeexJSCoreApi.h>
#include <dlfcn.h>
+#include <errno.h>
const char *s_cacheDir;
bool s_start_pie = true;
@@ -713,6 +714,8 @@ namespace WeexCore {
int c_value_len = strlen(c_value_chars);
serializer->add(c_key_chars, c_key_len);
serializer->add(c_value_chars, c_value_len);
+ initFrameworkParams.push_back(
+ genInitFrameworkParams(c_key_chars, c_value_chars));
WXCoreEnvironment::getInstance()->AddOption(jString2Str(env, jkey),
jString2Str(env, jvalue));
}