mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Remove unused Feature Flag: lazilyLoadViewManagers
Summary: Remove unused feature flag. This is not used within Facebook and I'm not aware of usage outside of FB. Changelog: [Removed] Removing Android feature flag: lazilyLoadViewManagers Reviewed By: mdvacca Differential Revision: D20788210 fbshipit-source-id: 435316e3de7830d7cb7f14537351883e4fc6eeaa
This commit is contained in:
committed by
Facebook GitHub Bot
parent
e7c3f9d838
commit
3963f34980
+1
-4
@@ -11,7 +11,6 @@ import static com.facebook.systrace.Systrace.TRACE_TAG_REACT_JAVA_BRIDGE;
|
||||
|
||||
import androidx.annotation.Nullable;
|
||||
import com.facebook.react.common.MapBuilder;
|
||||
import com.facebook.react.config.ReactFeatureFlags;
|
||||
import com.facebook.systrace.SystraceMessage;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
@@ -35,9 +34,7 @@ import java.util.Map;
|
||||
/* package */ static Map<String, Object> createConstants(
|
||||
UIManagerModule.ViewManagerResolver resolver) {
|
||||
Map<String, Object> constants = UIManagerModuleConstants.getConstants();
|
||||
if (!ReactFeatureFlags.lazilyLoadViewManagers) {
|
||||
constants.put("ViewManagerNames", resolver.getViewManagerNames());
|
||||
}
|
||||
constants.put("ViewManagerNames", resolver.getViewManagerNames());
|
||||
constants.put("LazyViewManagersEnabled", true);
|
||||
return constants;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user