mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-02 23:05:01 +08:00
Remove class loads for CoreModulesPackage
Summary: CoreModulePackages was following the old way of adding Native Modules to the Array list. This diff changes it to use names instead of class. Reviewed By: achen1 Differential Revision: D9996803 fbshipit-source-id: a6c3daf2193a2559db0908f9e26e339e03e4f8c7
This commit is contained in:
committed by
Facebook Github Bot
parent
36033bd0ed
commit
c31f79fe47
@@ -107,7 +107,7 @@ public class UIManagerModule extends ReactContextBaseJavaModule implements
|
||||
@Nullable String resolveCustomEventName(String eventName);
|
||||
}
|
||||
|
||||
protected static final String NAME = "UIManager";
|
||||
public static final String NAME = "UIManager";
|
||||
|
||||
private static final boolean DEBUG =
|
||||
PrinterHolder.getPrinter().shouldDisplayLogMessage(ReactDebugOverlayTags.UI_MANAGER);
|
||||
|
||||
Reference in New Issue
Block a user