Deprecate UIManagerModule.removeSubviewsFromContainerWithID

Summary:
The method UIManagerModule.removeSubviewsFromContainerWithID 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: D16420687

fbshipit-source-id: a06810cabb434e35e5a371444114db2633a35a29
This commit is contained in:
David Vacca
2019-07-22 15:39:01 -07:00
committed by Facebook Github Bot
parent a863949413
commit 2992518b2e
2 changed files with 3 additions and 0 deletions
@@ -558,8 +558,10 @@ public class UIManagerModule extends ReactContextBaseJavaModule
* receipt. TODO: The method name is incorrect and will be renamed, #6033872
*
* @param containerTag the tag of the container for which the subviews must be removed
* @deprecated This method will not be available in Fabric UIManager.
*/
@ReactMethod
@Deprecated
public void removeSubviewsFromContainerWithID(int containerTag) {
mUIImplementation.removeSubviewsFromContainerWithID(containerTag);
}