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

Commit 4c7c6c5d authored by Sally Kovacs's avatar Sally Kovacs Committed by Android (Google) Code Review
Browse files

Merge "Revert "Make Javadoc changes to TtsSpan related to new API"" into main

parents 5ed6634e e498ffe4
Loading
Loading
Loading
Loading
+9 −13
Original line number Diff line number Diff line
@@ -108,13 +108,11 @@ public class TtsSpan implements ParcelableSpan {

    /**
     * The text associated with this span is a time, consisting of a number of
     * hours, minutes, and seconds specified with {@link #ARG_HOURS}, {@link #ARG_MINUTES}, and
     * {@link #ARG_SECONDS}.
     * hours and minutes, specified with {@link #ARG_HOURS} and
     * {@link #ARG_MINUTES}.
     * Also accepts the arguments {@link #ARG_GENDER},
     * {@link #ARG_ANIMACY}, {@link #ARG_MULTIPLICITY} and
     * {@link #ARG_CASE}. This is different from {@link #TYPE_DURATION}. This should be used to
     * convey a particular moment in time, such as a clock time, while {@link #TYPE_DURATION} should
     * be used to convey an interval of time.
     * {@link #ARG_CASE}.
     */
    public static final String TYPE_TIME = "android.type.time";

@@ -312,18 +310,16 @@ public class TtsSpan implements ParcelableSpan {
    public static final String ARG_UNIT = "android.arg.unit";

    /**
     * Argument used to specify the hours of a time or duration. The hours should be
     * provided as an integer in the range from 0 up to and including 24 for
     * {@link #TYPE_TIME}.
     * Can be used with {@link #TYPE_TIME} or {@link #TYPE_DURATION}.
     * Argument used to specify the hours of a time. The hours should be
     * provided as an integer in the range from 0 up to and including 24.
     * Can be used with {@link #TYPE_TIME}.
     */
    public static final String ARG_HOURS = "android.arg.hours";

    /**
     * Argument used to specify the minutes of a time or duration. The minutes should be
     * provided as an integer in the range from 0 up to and including 59 for
     * {@link #TYPE_TIME}.
     * Can be used with {@link #TYPE_TIME} or {@link #TYPE_DURATION}.
     * Argument used to specify the minutes of a time. The minutes should be
     * provided as an integer in the range from 0 up to and including 59.
     * Can be used with {@link #TYPE_TIME}.
     */
    public static final String ARG_MINUTES = "android.arg.minutes";