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

Commit 39c4a61b authored by Menghan Li's avatar Menghan Li Committed by Automerger Merge Worker
Browse files

Merge "Refines the javadoc of the ReplacementSpan.getContentDescription" into...

Merge "Refines the javadoc of the ReplacementSpan.getContentDescription" into rvc-dev am: b42dfe72 am: 6d54b94a

Change-Id: I6ef74c208081b5ef8f4bc58530cba3950baaae8b
parents 1dc38903 6d54b94a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -63,7 +63,7 @@ public abstract class ReplacementSpan extends MetricAffectingSpan {
                              int top, int y, int bottom, @NonNull Paint paint);

    /**
     * Gets a brief description of this ImageSpan for use in accessibility support.
     * Gets a brief description of this ReplacementSpan for use in accessibility support.
     *
     * @return The content description.
     */
@@ -73,7 +73,7 @@ public abstract class ReplacementSpan extends MetricAffectingSpan {
    }

    /**
     * Sets the specific content description into ImageSpan.
     * Sets the specific content description into ReplacementSpan.
     * ReplacementSpans are shared with accessibility services,
     * but only the content description is available from them.
     *
+2 −2
Original line number Diff line number Diff line
@@ -2876,7 +2876,7 @@ public class AccessibilityNodeInfo implements Parcelable {
    }

    /**
     * Replaces any ClickableSpans in mText with placeholders.
     * Replaces any ClickableSpan in the given {@code text} with placeholders.
     *
     * @param text The text.
     *
@@ -2910,7 +2910,7 @@ public class AccessibilityNodeInfo implements Parcelable {
    }

    /**
     * Replace any ImageSpans in mText with its content description.
     * Replaces any ReplacementSpan in the given {@code text} if the object has content description.
     *
     * @param text The text.
     *