strip off RK/RCT prefix from NativeModules

Reviewed By: javache

Differential Revision: D4487530

fbshipit-source-id: ea16720dc15e490267ad244c43ea9d237f81e353
This commit is contained in:
Aaron Chiu
2017-01-31 04:49:58 -08:00
committed by Facebook Github Bot
parent b6f494c313
commit 29616e3122
11 changed files with 41 additions and 21 deletions

View File

@@ -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