mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-05 22:38:59 +08:00
Setup experiment for split packages
Reviewed By: javache Differential Revision: D5314224 fbshipit-source-id: b9bc28b8f4e058db1dcc0c17f7dc84bf15eb33f9
This commit is contained in:
committed by
Facebook Github Bot
parent
e301a36606
commit
3525998884
@@ -223,7 +223,8 @@ public class ReactInstanceManager {
|
||||
@Nullable DevBundleDownloadListener devBundleDownloadListener,
|
||||
boolean setupReactContextInBackgroundEnabled,
|
||||
boolean useSeparateUIBackgroundThread,
|
||||
int minNumShakes) {
|
||||
int minNumShakes,
|
||||
boolean splitPackagesEnabled) {
|
||||
Log.d(ReactConstants.TAG, "ReactInstanceManager.ctor()");
|
||||
initializeSoLoaderIfNecessary(applicationContext);
|
||||
|
||||
@@ -256,7 +257,7 @@ public class ReactInstanceManager {
|
||||
mUseSeparateUIBackgroundThread = useSeparateUIBackgroundThread;
|
||||
mMinNumShakes = minNumShakes;
|
||||
|
||||
if (true) { // TODO Change to a QE-determined experiment variable in separate commit
|
||||
if (!splitPackagesEnabled) {
|
||||
CoreModulesPackage coreModulesPackage =
|
||||
new CoreModulesPackage(
|
||||
this,
|
||||
|
||||
Reference in New Issue
Block a user