From c91a2b36d7eea0712fd1b70dc0844ebc1f88905a Mon Sep 17 00:00:00 2001 From: Ram N Date: Mon, 29 Oct 2018 12:20:22 -0700 Subject: [PATCH] Remove view managers from @ReactModuleList Summary: The annotation ReactModuleList that was processed by ReactModuleSpecProcessor.java does not use ViewManagers. Removing this method from the annotation so that there is no confusion on how view managers are added to individual packages. Reviewed By: achen1 Differential Revision: D9115363 fbshipit-source-id: 43d12e09b0e9b8e1732533f9a4456327778a0eaf --- .../facebook/react/module/annotations/ReactModuleList.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ReactAndroid/src/main/java/com/facebook/react/module/annotations/ReactModuleList.java b/ReactAndroid/src/main/java/com/facebook/react/module/annotations/ReactModuleList.java index f8253f84d..d23eb245f 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/module/annotations/ReactModuleList.java +++ b/ReactAndroid/src/main/java/com/facebook/react/module/annotations/ReactModuleList.java @@ -26,10 +26,4 @@ public @interface ReactModuleList { * @return List of Native modules in the package. */ Class[] nativeModules(); - - /** - * The View Managers in this list should be annotated with {@link ReactModule}. - * @return List of view manager in the package. - */ - Class[] viewManagers() default {}; }