Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a0b8fd52 authored by Anton Hansson's avatar Anton Hansson
Browse files

Fix broken documentation in accessibility

- Prefix members with #
- Remove @see tag for IntDef. As IntDefs annotations are not included
  in the documentation, they cannot be referenced.

Bug: 303184203
Test: m docs
Change-Id: I6c299c5f92e27e24ca81508b894147571709b107
parent eaf0c9d6
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -3543,9 +3543,9 @@ public abstract class AccessibilityService extends Service {
     * @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 @@ public abstract class AccessibilityService extends Service {
     * @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,
+0 −1
Original line number Diff line number Diff line
@@ -1020,7 +1020,6 @@ public class AccessibilityServiceInfo implements Parcelable {
     *
     * @param motionEventSources A bit mask of {@link android.view.InputDevice} sources.
     * @see AccessibilityService#onMotionEvent
     * @see #MotionEventSources
     */
    public void setMotionEventSources(@MotionEventSources int motionEventSources) {
        mMotionEventSources = motionEventSources;