mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +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:
committed by
Facebook GitHub Bot
parent
5ae53cc051
commit
7a16106b2d
@@ -74,16 +74,8 @@ public class ReactFeatureFlags {
|
||||
/** Feature flag to configure synchronized queue access for Animated module */
|
||||
public static boolean enableSynchronizationForAnimated = false;
|
||||
|
||||
private static boolean mapBufferSerializationEnabled = false;
|
||||
|
||||
/** Enables or disables MapBuffer Serialization */
|
||||
public static void setMapBufferSerializationEnabled(boolean enabled) {
|
||||
mapBufferSerializationEnabled = enabled;
|
||||
}
|
||||
|
||||
public static boolean isMapBufferSerializationEnabled() {
|
||||
return mapBufferSerializationEnabled;
|
||||
}
|
||||
public static boolean mapBufferSerializationEnabled = false;
|
||||
|
||||
/** Feature Flag to use overflowInset values provided by Yoga */
|
||||
public static boolean useOverflowInset = false;
|
||||
|
||||
Reference in New Issue
Block a user