Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

[WEEX-380][Android] Fix weex show abnormally in single process #1188

Merged
merged 1 commit into from
May 21, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified android/sdk/libs/armeabi/libweexjsc.so
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
#include <core/api/WeexJSCoreApi.h>

#include <dlfcn.h>
#include <errno.h>

const char *s_cacheDir;
bool s_start_pie = true;
Expand Down Expand Up @@ -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));
}
Expand Down