move ViewManager addition out of FlatUIImplementation

Reviewed By: achen1

Differential Revision: D4467400

fbshipit-source-id: 3027c1d4a2ccc691d474c0c06e61b47475e6bff7
This commit is contained in:
Aaron Chiu
2017-01-27 18:33:36 -08:00
committed by Facebook Github Bot
parent 5c7009d147
commit 9615d3bdb5
14 changed files with 81 additions and 51 deletions
@@ -30,7 +30,7 @@ import com.facebook.react.views.view.ReactDrawableHelper;
/**
* ViewManager that creates instances of RCTView.
*/
/* package */ final class RCTViewManager extends FlatViewManager {
public final class RCTViewManager extends FlatViewManager {
private static final int[] TMP_INT_ARRAY = new int[2];
@@ -39,7 +39,7 @@ import com.facebook.react.views.view.ReactDrawableHelper;
@Override
public String getName() {
return "RCTView";
return ViewProps.VIEW_CLASS_NAME;
}
public Map<String, Integer> getCommandsMap() {