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

Commit e3131a9b authored by Hakjun Choi's avatar Hakjun Choi Committed by Android (Google) Code Review
Browse files

Merge "Apply API council recommendation for existing API name and documentation" into main

parents aad6178e fd32ff4c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -47471,7 +47471,7 @@ package android.telephony {
    field public static final int RESULT_RIL_SUBSCRIPTION_NOT_AVAILABLE = 128; // 0x80
    field public static final int RESULT_RIL_SYSTEM_ERR = 108; // 0x6c
    field public static final int RESULT_SMS_BLOCKED_DURING_EMERGENCY = 29; // 0x1d
    field @FlaggedApi("com.android.internal.telephony.flags.satellite_25q4_apis") public static final int RESULT_SMS_SEND_FAIL_AFTER_MAX_RETRY = 138; // 0x8a
    field @FlaggedApi("com.android.internal.telephony.flags.satellite_25q4_apis") public static final int RESULT_SMS_SEND_FAILED_AFTER_MAX_RETRY = 138; // 0x8a
    field public static final int RESULT_SMS_SEND_RETRY_FAILED = 30; // 0x1e
    field public static final int RESULT_SYSTEM_ERROR = 15; // 0xf
    field public static final int RESULT_UNEXPECTED_EVENT_STOP_SENDING = 28; // 0x1c
+9 −4
Original line number Diff line number Diff line
@@ -2478,7 +2478,7 @@ public final class SmsManager {
            RESULT_RIL_NO_NETWORK_FOUND,
            RESULT_RIL_DEVICE_IN_USE,
            RESULT_RIL_ABORTED,
            RESULT_SMS_SEND_FAIL_AFTER_MAX_RETRY
            RESULT_SMS_SEND_FAILED_AFTER_MAX_RETRY
    })
    @Retention(RetentionPolicy.SOURCE)
    public @interface Result {}
@@ -2835,11 +2835,16 @@ public final class SmsManager {
    public static final int RESULT_RIL_ABORTED = 137;

    /**
     * SMS send failed due to exceeding max retry count
     * Indicates that the SMS sending operation failed because all allowed retry attempts
     * were exhausted without successfully sending the message.
     * <p>
     * This is distinct from {@link #RESULT_SMS_SEND_RETRY_FAILED}, which signals a single failed
     * retry attempt where further retries might still be scheduled.
     * In contrast, {@code RESULT_SMS_SEND_FAILED_AFTER_MAX_RETRY} signifies that the maximum retry
     * limit has been surpassed, and no more attempts will be made for this SMS message.
     */
    @FlaggedApi(Flags.FLAG_SATELLITE_25Q4_APIS)
    public static final int RESULT_SMS_SEND_FAIL_AFTER_MAX_RETRY = 138;

    public static final int RESULT_SMS_SEND_FAILED_AFTER_MAX_RETRY = 138;

    // SMS receiving results sent as a "result" extra in {@link Intents.SMS_REJECTED_ACTION}