Setup experiment for split packages

Reviewed By: javache

Differential Revision: D5314224

fbshipit-source-id: b9bc28b8f4e058db1dcc0c17f7dc84bf15eb33f9
This commit is contained in:
Kathy Gray authored and Facebook Github Bot committed 2017-07-04 04:01:14 -07:00
1 parent e301a36606
commit 3525998884
2 files changed
+11 -3

No files matched your search

@@ -47,6 +47,7 @@ public class ReactInstanceManagerBuilder {
protected boolean mSetupReactContextInBackground;
protected boolean mUseSeparateUIBackgroundThread;
protected int mMinNumShakes = 1;
protected boolean mEnableSplitPackage;
/* package protected */ ReactInstanceManagerBuilder() {
}
@@ -213,6 +214,11 @@ public class ReactInstanceManagerBuilder {
return this;
}
public ReactInstanceManagerBuilder setEnableSplitPackage(boolean enableSplitPackage) {
mEnableSplitPackage = enableSplitPackage;
return this;
}
/**
* Instantiates a new {@link ReactInstanceManager}.
* Before calling {@code build}, the following must be called:
@@ -262,6 +268,7 @@ public class ReactInstanceManagerBuilder {
mDevBundleDownloadListener,
mSetupReactContextInBackground,
mUseSeparateUIBackgroundThread,
mMinNumShakes);
mMinNumShakes,
mEnableSplitPackage);
}
}