Deprecate UIManagerModule.replaceExistingNonRootView

Summary:
The method UIManagerModule.replaceExistingNonRootView will not be part of fabric. This diff deprecates it to avoid future usage before the migration.
This can not be removed, as it is currently used from React-VR

Reviewed By: shergin

Differential Revision: D16420685

fbshipit-source-id: c534e2ee6371698638751f1482bb619db1569733
This commit is contained in:
David Vacca
2019-07-22 15:35:19 -07:00
committed by Facebook Github Bot
parent c7ee38149d
commit a863949413
2 changed files with 4 additions and 0 deletions
@@ -544,8 +544,11 @@ public class UIManagerModule extends ReactContextBaseJavaModule
* Replaces the View specified by oldTag with the View specified by newTag within oldTag's parent.
* This resolves to a simple {@link #manageChildren} call, but React doesn't have enough info in
* JS to formulate it itself.
*
* @deprecated This method will not be available in Fabric UIManager.
*/
@ReactMethod
@Deprecated
public void replaceExistingNonRootView(int oldTag, int newTag) {
mUIImplementation.replaceExistingNonRootView(oldTag, newTag);
}