Merge "Fix broken documentation in accessibility" into main
diff --git a/core/java/android/accessibilityservice/AccessibilityService.java b/core/java/android/accessibilityservice/AccessibilityService.java
index e40ea09..3370c12 100644
--- a/core/java/android/accessibilityservice/AccessibilityService.java
+++ b/core/java/android/accessibilityservice/AccessibilityService.java
@@ -3543,9 +3543,9 @@
* @param executor Executor on which to run the callback.
* @param callback The callback invoked when attaching the overlay has succeeded or failed. The
* callback is a {@link java.util.function.IntConsumer} of the result status code.
- * @see OVERLAY_RESULT_SUCCESS
- * @see OVERLAY_RESULT_INVALID
- * @see OVERLAY_RESULT_INTERNAL_ERROR
+ * @see #OVERLAY_RESULT_SUCCESS
+ * @see #OVERLAY_RESULT_INVALID
+ * @see #OVERLAY_RESULT_INTERNAL_ERROR
*/
public void attachAccessibilityOverlayToDisplay(
int displayId,
@@ -3619,9 +3619,9 @@
* @param executor Executor on which to run the callback.
* @param callback The callback invoked when attaching the overlay has succeeded or failed. The
* callback is a {@link java.util.function.IntConsumer} of the result status code.
- * @see OVERLAY_RESULT_SUCCESS
- * @see OVERLAY_RESULT_INVALID
- * @see OVERLAY_RESULT_INTERNAL_ERROR
+ * @see #OVERLAY_RESULT_SUCCESS
+ * @see #OVERLAY_RESULT_INVALID
+ * @see #OVERLAY_RESULT_INTERNAL_ERROR
*/
public void attachAccessibilityOverlayToWindow(
int accessibilityWindowId,
diff --git a/core/java/android/accessibilityservice/AccessibilityServiceInfo.java b/core/java/android/accessibilityservice/AccessibilityServiceInfo.java
index 6550f30..3f9cc65 100644
--- a/core/java/android/accessibilityservice/AccessibilityServiceInfo.java
+++ b/core/java/android/accessibilityservice/AccessibilityServiceInfo.java
@@ -1020,7 +1020,6 @@
*
* @param motionEventSources A bit mask of {@link android.view.InputDevice} sources.
* @see AccessibilityService#onMotionEvent
- * @see #MotionEventSources
*/
public void setMotionEventSources(@MotionEventSources int motionEventSources) {
mMotionEventSources = motionEventSources;