strip off RK/RCT prefix from NativeModules

Reviewed By: javache

Differential Revision: D4487530

fbshipit-source-id: ea16720dc15e490267ad244c43ea9d237f81e353
This commit is contained in:
Aaron Chiu authored and Facebook Github Bot committed 2017-01-31 04:58:29 -08:00
1 parent b6f494c313
commit 29616e3122
11 files changed
+41 -21

No files matched your search

@@ -72,10 +72,12 @@ import static com.facebook.react.bridge.ReactMarkerConstants.UI_MANAGER_MODULE_C
* consider implementing a pool
* TODO(5483063): Don't dispatch the view hierarchy at the end of a batch if no UI changes occurred
*/
@ReactModule(name = "RKUIManager")
@ReactModule(name = UIManagerModule.NAME)
public class UIManagerModule extends ReactContextBaseJavaModule implements
OnBatchCompleteListener, LifecycleEventListener, PerformanceCounter, NativeModuleLogger {
protected static final String NAME = "UIManager";
// Keep in sync with ReactIOSTagHandles JS module - see that file for an explanation on why the
// increment here is 10
private static final int ROOT_VIEW_TAG_INCREMENT = 10;
@@ -114,7 +116,7 @@ public class UIManagerModule extends ReactContextBaseJavaModule implements
@Override
public String getName() {
return "RKUIManager";
return NAME;
}
@Override