fix: set js delta bundle default value to false (#24848)

Summary:
When running Android app for the first time, the packager is requesting delta bundles from metro instead of a bundle (in dev settings delta bundles are disabled by default and marked as experimental). UI of dev settings is not consistent with the current state, to turn off delta bundles you have to enable them and then disable.

[Android] [Fixed] - Disable delta bundles on the first app run
Pull Request resolved: https://github.com/facebook/react-native/pull/24848

Differential Revision: D15334059

Pulled By: cpojer

fbshipit-source-id: 384a8abba64c54db3656a4d5d0e24acc825870c8
This commit is contained in:
wojteg1337 2019-05-14 04:17:00 -07:00 коммит произвёл Facebook Github Bot
Родитель cd9adda651
Коммит e4aff423ac
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -136,7 +136,7 @@ public class DevInternalSettings implements
@SuppressLint("SharedPreferencesUse")
public boolean isBundleDeltasEnabled() {
return mPreferences.getBoolean(PREFS_JS_BUNDLE_DELTAS_KEY, true);
return mPreferences.getBoolean(PREFS_JS_BUNDLE_DELTAS_KEY, false);
}
@SuppressLint("SharedPreferencesUse")