mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Remove @UiThread annotation from MountingManager.addRootView()
Summary: Removing the UiThread annotation from MountingManager.addRootView() because it doesn't seem like it's needed. Reviewed By: mdvacca Differential Revision: D15945819 fbshipit-source-id: 0cb9bfb2fe2889001f1c061a07518cf9734f0c16
This commit is contained in:
committed by
Facebook Github Bot
parent
38d974e6a2
commit
8af7e9289f
@@ -51,7 +51,6 @@ public class MountingManager {
|
||||
mViewFactory = new ViewManagerFactory(viewManagerRegistry);
|
||||
}
|
||||
|
||||
@UiThread
|
||||
public void addRootView(int reactRootTag, View rootView) {
|
||||
if (rootView.getId() != View.NO_ID) {
|
||||
throw new IllegalViewOperationException(
|
||||
|
||||
Reference in New Issue
Block a user