Setup collapsing of mounting instructions as disabled by default

Summary:
This diff updates the configuration of collapsing of mounting instructions to be disabled by default (in case the user didn't get any value from the server)

Changelog: [internal]

Reviewed By: JoshuaGross

Differential Revision: D18411934

fbshipit-source-id: 21f9ca525c28134800e929407c5a1e29a84de68e
This commit is contained in:
David Vacca 2019-11-08 18:46:57 -08:00 коммит произвёл Facebook Github Bot
Родитель 960a4767be
Коммит f7385ac1b8
2 изменённых файлов: 4 добавлений и 4 удалений

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

@ -236,9 +236,9 @@ void Binding::installFabricUIManager(
// Keep reference to config object and cache some feature flags here
reactNativeConfig_ = config;
shouldCollateRemovesAndDeletes_ = reactNativeConfig_->getBool("react_fabric:enable_removedelete_collation_android");
// TODO T56932267: re-enable collapsing of mounting instructions using
// reactNativeConfig_->getBool("react_fabric:enabled_collapse_delete_create_mounting_instructions");
collapseDeleteCreateMountingInstructions_ = false;
collapseDeleteCreateMountingInstructions_ = reactNativeConfig_->getBool(
"react_fabric:enabled_collapse_delete_create_mounting_instructions");
;
disablePreallocateViews_ = reactNativeConfig_->getBool("react_fabric:disabled_view_preallocation_android");

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

@ -105,7 +105,7 @@ class Binding : public jni::HybridClass<Binding>, public SchedulerDelegate {
std::shared_ptr<const ReactNativeConfig> reactNativeConfig_{nullptr};
bool shouldCollateRemovesAndDeletes_{false};
bool collapseDeleteCreateMountingInstructions_{true};
bool collapseDeleteCreateMountingInstructions_{false};
bool disablePreallocateViews_{false};
};