Skip to content

Commit

Permalink
Clean up FabricUIManagerViewHierarchyTest
Browse files Browse the repository at this point in the history
Reviewed By: mdvacca

Differential Revision: D7165823

fbshipit-source-id: e6d2a83bf9e089c67d69de6581d177bdf0d2ec4e
  • Loading branch information
ayc1 authored and facebook-github-bot committed Mar 7, 2018
1 parent e7b8341 commit 6fc4163
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import com.facebook.react.bridge.ReadableNativeMap;
import com.facebook.react.bridge.UIManager;
import com.facebook.react.modules.i18nmanager.I18nUtil;
import com.facebook.react.uimanager.DisplayMetricsHolder;
import com.facebook.react.uimanager.NativeViewHierarchyManager;
import com.facebook.react.uimanager.ReactRootViewTagGenerator;
import com.facebook.react.uimanager.ReactShadowNode;
Expand Down Expand Up @@ -46,6 +47,7 @@ public class FabricUIManager implements UIManager {

public FabricUIManager(ReactApplicationContext reactContext,
ViewManagerRegistry viewManagerRegistry) {
DisplayMetricsHolder.initDisplayMetricsIfNotInitialized(reactContext);
mReactApplicationContext = reactContext;
mViewManagerRegistry = viewManagerRegistry;
mUIViewOperationQueue = new UIViewOperationQueue(reactContext, new NativeViewHierarchyManager(viewManagerRegistry), 0);
Expand Down

0 comments on commit 6fc4163

Please sign in to comment.