From 6feb3dc837bb531cbcfa922e8ef50879aad25fd4 Mon Sep 17 00:00:00 2001 From: David Vacca Date: Wed, 30 Jan 2019 00:11:35 -0800 Subject: [PATCH] Include PreAllocateViewMountItem into the eager initialization of Fabric classes Summary: simple diff to eager initialize the PreAllocateViewMountItem class with the rest of the Fabric classes Reviewed By: sahrens Differential Revision: D13860612 fbshipit-source-id: d1fbc653420c1c1546bbf605c682ad5bb611d76b --- .../java/com/facebook/react/fabric/FabricJSIModuleProvider.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ReactAndroid/src/main/java/com/facebook/react/fabric/FabricJSIModuleProvider.java b/ReactAndroid/src/main/java/com/facebook/react/fabric/FabricJSIModuleProvider.java index 4f0cbb775e6..efe12296997 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/fabric/FabricJSIModuleProvider.java +++ b/ReactAndroid/src/main/java/com/facebook/react/fabric/FabricJSIModuleProvider.java @@ -22,6 +22,7 @@ import com.facebook.react.fabric.mounting.mountitems.DeleteMountItem; import com.facebook.react.fabric.mounting.mountitems.DispatchCommandMountItem; import com.facebook.react.fabric.mounting.mountitems.InsertMountItem; import com.facebook.react.fabric.mounting.mountitems.MountItem; +import com.facebook.react.fabric.mounting.mountitems.PreAllocateViewMountItem; import com.facebook.react.fabric.mounting.mountitems.RemoveMountItem; import com.facebook.react.fabric.mounting.mountitems.UpdateEventEmitterMountItem; import com.facebook.react.fabric.mounting.mountitems.UpdateLayoutMountItem; @@ -110,5 +111,6 @@ public class FabricJSIModuleProvider implements JSIModuleProvider { EventBeatManager.class.getClass(); EventEmitterWrapper.class.getClass(); FabricSoLoader.class.getClass(); + PreAllocateViewMountItem.class.getClass(); } }