mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-07 09:27:29 +08:00
Kill JSCConfig
Reviewed By: mhorowitz Differential Revision: D5662181 fbshipit-source-id: 71a4d6cf4eb34030d4f86e96e8bc6f8e8efe5fdd
This commit is contained in:
committed by
Facebook Github Bot
parent
67c160cc6c
commit
606a876df7
@@ -34,7 +34,6 @@ public class ReactInstanceManagerBuilder {
|
||||
private @Nullable LifecycleState mInitialLifecycleState;
|
||||
private @Nullable UIImplementationProvider mUIImplementationProvider;
|
||||
private @Nullable NativeModuleCallExceptionHandler mNativeModuleCallExceptionHandler;
|
||||
private JSCConfig mJSCConfig = JSCConfig.EMPTY;
|
||||
private @Nullable Activity mCurrentActivity;
|
||||
private @Nullable DefaultHardwareBackBtnHandler mDefaultHardwareBackBtnHandler;
|
||||
private @Nullable RedBoxHandler mRedBoxHandler;
|
||||
@@ -170,11 +169,6 @@ public class ReactInstanceManagerBuilder {
|
||||
return this;
|
||||
}
|
||||
|
||||
public ReactInstanceManagerBuilder setJSCConfig(JSCConfig jscConfig) {
|
||||
mJSCConfig = jscConfig;
|
||||
return this;
|
||||
}
|
||||
|
||||
public ReactInstanceManagerBuilder setRedBoxHandler(@Nullable RedBoxHandler redBoxHandler) {
|
||||
mRedBoxHandler = redBoxHandler;
|
||||
return this;
|
||||
@@ -266,7 +260,6 @@ public class ReactInstanceManagerBuilder {
|
||||
Assertions.assertNotNull(mInitialLifecycleState, "Initial lifecycle state was not set"),
|
||||
mUIImplementationProvider,
|
||||
mNativeModuleCallExceptionHandler,
|
||||
mJSCConfig,
|
||||
mRedBoxHandler,
|
||||
mLazyNativeModulesEnabled,
|
||||
mLazyViewManagersEnabled,
|
||||
|
||||
Reference in New Issue
Block a user