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

Commit 9650a435 authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

Massage APIs for upcoming doclava change.

These changes are needed to ensure that "checkapi" doesn't claim
that we're changing the API after an upcoming doclava change.

Test: manual inspection of API text files
Bug: 69505783
Change-Id: I8292ba80cc65b7dd78f0e9dba4fcc7ffcedfab9c
parent 1edf09c9
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1330,6 +1330,7 @@ public final class TvInputManager {
     *
     * @return the list of content ratings blocked by the user.
     */
    @SystemApi
    public List<TvContentRating> getBlockedRatings() {
        try {
            List<TvContentRating> ratings = new ArrayList<>();
@@ -2591,6 +2592,7 @@ public final class TvInputManager {
        }

        /** @removed */
        @SystemApi
        public boolean dispatchKeyEventToHdmi(KeyEvent event) {
            return false;
        }
+1 −1
Original line number Diff line number Diff line
@@ -1346,7 +1346,7 @@ public class TelecomManager {
    /**
     * Returns whether TTY is supported on this device.
     */

    @SystemApi
    @RequiresPermission(anyOf = {
            android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE,
            android.Manifest.permission.READ_PHONE_STATE
+1 −0
Original line number Diff line number Diff line
@@ -350,6 +350,7 @@ public final class SmsManager {
     *
     * @see #sendTextMessage(String, String, String, PendingIntent, PendingIntent)
     */
    @SystemApi
    public void sendTextMessageWithoutPersisting(
            String destinationAddress, String scAddress, String text,
            PendingIntent sentIntent, PendingIntent deliveryIntent) {