diff --git a/ReactAndroid/src/main/java/com/facebook/react/uimanager/UIImplementation.java b/ReactAndroid/src/main/java/com/facebook/react/uimanager/UIImplementation.java index 11bb030ff38..b0aa380e1ab 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/uimanager/UIImplementation.java +++ b/ReactAndroid/src/main/java/com/facebook/react/uimanager/UIImplementation.java @@ -513,7 +513,12 @@ public class UIImplementation { mOperationsQueue.enqueueFindTargetForTouch(reactTag, targetX, targetY, callback); } - /** Check if the first shadow node is the descendant of the second shadow node */ + /** + * Check if the first shadow node is the descendant of the second shadow node + * + * @deprecated This method will not be implemented in Fabric. + */ + @Deprecated public void viewIsDescendantOf( final int reactTag, final int ancestorReactTag, final Callback callback) { ReactShadowNode node = mShadowNodeRegistry.getNode(reactTag); diff --git a/ReactAndroid/src/main/java/com/facebook/react/uimanager/UIManagerModule.java b/ReactAndroid/src/main/java/com/facebook/react/uimanager/UIManagerModule.java index f91d281c42b..3bb4aeb083d 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/uimanager/UIManagerModule.java +++ b/ReactAndroid/src/main/java/com/facebook/react/uimanager/UIManagerModule.java @@ -629,8 +629,13 @@ public class UIManagerModule extends ReactContextBaseJavaModule callback); } - /** Check if the first shadow node is the descendant of the second shadow node */ + /** + * Check if the first shadow node is the descendant of the second shadow node + * + * @deprecated This method will not be part of Fabric. + */ @ReactMethod + @Deprecated public void viewIsDescendantOf( final int reactTag, final int ancestorReactTag, final Callback callback) { mUIImplementation.viewIsDescendantOf(reactTag, ancestorReactTag, callback);