Simplify mapBufferSerializationEnabled feature flag

Summary:
There's no need for this to be a setter/getter, as there are no side-effects, and it means we can use the same helper method to read it as other feature flags.

Changelog: [Internal]

Reviewed By: cortinico

Differential Revision: D36595602

fbshipit-source-id: d27c01bd39d03606a6f8c17ba181a8cd0bf58dbb
This commit is contained in:
Pieter De Baets authored and Facebook GitHub Bot committed 2022-05-25 07:47:07 -07:00
1 parent 5ae53cc051
commit 7a16106b2d
5 files changed
+10 -28

No files matched your search

@@ -45,7 +45,7 @@ public class FabricJSIModuleProvider implements JSIModuleProvider<UIManager> {
Systrace.TRACE_TAG_REACT_JAVA_BRIDGE, "FabricJSIModuleProvider.registerBinding");
final Binding binding = new Binding();
if (ReactFeatureFlags.isMapBufferSerializationEnabled()) {
if (ReactFeatureFlags.mapBufferSerializationEnabled) {
MapBufferSoLoader.staticInit();
}