Kill JSCConfig

Reviewed By: mhorowitz

Differential Revision: D5662181

fbshipit-source-id: 71a4d6cf4eb34030d4f86e96e8bc6f8e8efe5fdd
This commit is contained in:
Michał Gregorczyk
2017-08-21 13:32:43 -07:00
committed by Facebook Github Bot
parent 67c160cc6c
commit 606a876df7
4 changed files with 6 additions and 37 deletions

View File

@@ -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,