mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-09 13:37:58 +08:00
Reverted commit D3374937
Reviewed By: mhorowitz Differential Revision: D3374937 fbshipit-source-id: e794fb9b8cb1194133da64dcb38861477406c307
This commit is contained in:
committed by
Facebook Github Bot 2
parent
2c59dca7b6
commit
d836e8c0ef
@@ -24,22 +24,16 @@ import com.facebook.soloader.SoLoader;
|
||||
@DoNotStrip
|
||||
public class ReactBridge extends Countable {
|
||||
|
||||
private static final String REACT_NATIVE_LIB = "reactnativejni";
|
||||
private static final String XREACT_NATIVE_LIB = "reactnativejnifb";
|
||||
/* package */ static final String REACT_NATIVE_LIB = "reactnativejni";
|
||||
|
||||
static {
|
||||
SoLoader.loadLibrary(REACT_NATIVE_LIB);
|
||||
SoLoader.loadLibrary(XREACT_NATIVE_LIB);
|
||||
}
|
||||
|
||||
private final ReactCallback mCallback;
|
||||
private final JavaScriptExecutor mJSExecutor;
|
||||
private final MessageQueueThread mNativeModulesQueueThread;
|
||||
|
||||
public static void staticInit() {
|
||||
// This is just called to ensure that ReactBridge's static initialization has taken place.
|
||||
}
|
||||
|
||||
/**
|
||||
* @param jsExecutor the JS executor to use to run JS
|
||||
* @param callback the callback class used to invoke native modules
|
||||
|
||||
Reference in New Issue
Block a user