From baa97b2e9fd4125df6112573cb793688ed6f63c6 Mon Sep 17 00:00:00 2001 From: Denis Koroskin Date: Mon, 30 Nov 2015 18:18:52 -0800 Subject: [PATCH] Make ViewManagerRegistry class public Summary: public I need to construct this class outside of the uimanager package, and this requires the class (and its constructor) to be public. Reviewed By: astreet Differential Revision: D2554847 fb-gh-sync-id: a73c3236b91a1ed7074521e19b72e1994804cced --- .../com/facebook/react/uimanager/ViewManagerRegistry.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ReactAndroid/src/main/java/com/facebook/react/uimanager/ViewManagerRegistry.java b/ReactAndroid/src/main/java/com/facebook/react/uimanager/ViewManagerRegistry.java index 2dffc8c26..3dfacf1b3 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/uimanager/ViewManagerRegistry.java +++ b/ReactAndroid/src/main/java/com/facebook/react/uimanager/ViewManagerRegistry.java @@ -17,7 +17,7 @@ import java.util.Map; * Class that stores the mapping between native view name used in JS and the corresponding instance * of {@link ViewManager}. */ -/* package */ class ViewManagerRegistry { +public class ViewManagerRegistry { private final Map mViewManagers = new HashMap<>(); @@ -27,7 +27,7 @@ import java.util.Map; } } - /* package */ ViewManager get(String className) { + public ViewManager get(String className) { ViewManager viewManager = mViewManagers.get(className); if (viewManager != null) { return viewManager;