From 3555bf20a84a418c9cf1023eb557a6da6bb95358 Mon Sep 17 00:00:00 2001 From: David Vacca Date: Wed, 5 May 2021 09:11:11 -0700 Subject: [PATCH] Update javadoc in fabric to remove reference to UIManagerModule Summary: Update javadoc in fabric to remove reference to UIManagerModule changelog: [internal] internal Reviewed By: fkgozali Differential Revision: D28207024 fbshipit-source-id: 1658c01b10c2433565d6df1a6ed989d83a3c4a8d --- .../react/fabric/mounting/MountingManager.java | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/MountingManager.java b/ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/MountingManager.java index 5313e1a9154..97a8822d949 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/MountingManager.java +++ b/ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/MountingManager.java @@ -263,13 +263,15 @@ public class MountingManager { * Send an accessibility eventType to a Native View. eventType is any valid `AccessibilityEvent.X` * value. * - *

Why accept `-1` SurfaceId? Currently there are calls to - * UIManagerModule.sendAccessibilityEvent which is a legacy API and accepts only reactTag. We will - * have to investigate and migrate away from those calls over time. + *

Why accept `-1` SurfaceId? Currently there are calls to UIManager.sendAccessibilityEvent + * which is a legacy API and accepts only reactTag. We will have to investigate and migrate away + * from those calls over time. * - * @param surfaceId - * @param reactTag - * @param eventType + * @param surfaceId {@link int} that identifies the surface or -1 to temporarily support backward + * compatibility. + * @param reactTag {@link int} that identifies the react Tag of the view. + * @param eventType {@link int} that identifies Android eventType. see {@link + * View#sendAccessibilityEvent} */ public void sendAccessibilityEvent(int surfaceId, int reactTag, int eventType) { UiThreadUtil.assertOnUiThread();