From 1212be9b2709df4a983d1b2cc27ea0983dcc8678 Mon Sep 17 00:00:00 2001 From: tboba Date: Fri, 23 Feb 2024 14:21:42 +0100 Subject: [PATCH] Delete removeSubviewsFromContainerWithID and replaceExistingNonRootView from ReanimatedUIManager --- .../ReanimatedUIManager.java | 26 ------------------- 1 file changed, 26 deletions(-) diff --git a/android/src/reactNativeVersionPatch/ReanimatedUIManager/latest/com/swmansion/reanimated/layoutReanimation/ReanimatedUIManager.java b/android/src/reactNativeVersionPatch/ReanimatedUIManager/latest/com/swmansion/reanimated/layoutReanimation/ReanimatedUIManager.java index 2c6cb188b107..256906f94a23 100644 --- a/android/src/reactNativeVersionPatch/ReanimatedUIManager/latest/com/swmansion/reanimated/layoutReanimation/ReanimatedUIManager.java +++ b/android/src/reactNativeVersionPatch/ReanimatedUIManager/latest/com/swmansion/reanimated/layoutReanimation/ReanimatedUIManager.java @@ -90,32 +90,6 @@ public void setChildren(int viewTag, ReadableArray childrenTags) { super.setChildren(viewTag, childrenTags); } - /** - * 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 class. - */ - @ReactMethod - @Deprecated - public void replaceExistingNonRootView(int oldTag, int newTag) { - super.replaceExistingNonRootView(oldTag, newTag); - } - - /** - * Method which takes a container tag and then releases all subviews for that container upon - * receipt. - * - * @param containerTag the tag of the container for which the subviews must be removed - * @deprecated This method will not be available in Fabric UIManager class. - */ - @ReactMethod - @Deprecated - public void removeSubviewsFromContainerWithID(int containerTag) { - super.removeSubviewsFromContainerWithID(containerTag); - } - /** * Determines the location on screen, width, and height of the given view and returns the values * via an async callback.