move ReactInstanceManager.Builder out of ReactInstanceManager into it's own class ReactInstanceManagerBuilder

Reviewed By: thechefchen

Differential Revision: D4451541

fbshipit-source-id: d9cbcb61b232e817a1f4ff7b067a8a4e0c17150a
This commit is contained in:
Aaron Chiu
2017-01-23 17:00:17 -08:00
committed by Facebook Github Bot
parent f9df72c803
commit 17c9939444
6 changed files with 245 additions and 228 deletions

View File

@@ -63,7 +63,7 @@ public abstract class ReactNativeHost {
}
protected ReactInstanceManager createReactInstanceManager() {
ReactInstanceManager.Builder builder = ReactInstanceManager.builder()
ReactInstanceManagerBuilder builder = ReactInstanceManager.builder()
.setApplication(mApplication)
.setJSMainModuleName(getJSMainModuleName())
.setUseDeveloperSupport(getUseDeveloperSupport())