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

Commit 6b13b1b9 authored by Sally's avatar Sally
Browse files

Fix AccessibilityAction javadocs formatting

https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo.AccessibilityAction
shows a note encapsulating all the actions.

To fix this, close the open <aside> notes
Bug: 331786470
Test: n/a formatting

Change-Id: Ibee14f20533133bbafe26957f750540c5a6b67dc
parent 976207c4
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -5161,15 +5161,17 @@ public class AccessibilityNodeInfo implements Parcelable {
     * {@link View#onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo)} and are performed
     * within {@link View#performAccessibilityAction(int, Bundle)}.
     * </p>
     * <p>
     * <aside class="note">
     * <b>Note:</b> Views which support these actions should invoke
     * {@link View#setImportantForAccessibility(int)} with
     * {@link View#IMPORTANT_FOR_ACCESSIBILITY_YES} to ensure an {@link AccessibilityService}
     * can discover the set of supported actions.
     * can discover the set of supported actions. </aside>
     * </p>
     * <p>
     * <aside class="note">
     * <b>Note:</b> Use {@link androidx.core.view.ViewCompat#addAccessibilityAction(View,
     * CharSequence, AccessibilityViewCommand)} to register an action directly on the view.
     * CharSequence, AccessibilityViewCommand)} to register an action directly on the view. </aside>
     * </p>
     */
    public static final class AccessibilityAction implements Parcelable {