mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
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:
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();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user