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

Commit 74f75dcf authored by Tom Taylor's avatar Tom Taylor
Browse files

Add a specific result code for RIL generic failures

Bug: 199203243
Test: manually tested sending/receiving SMS/MMS
Change-Id: I4400de69586e1d60a203e444201fabd30152f047
parent c7bbb64f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -42513,6 +42513,7 @@ package android.telephony {
    field public static final int RESULT_RIL_BLOCKED_DUE_TO_CALL = 123; // 0x7b
    field public static final int RESULT_RIL_CANCELLED = 119; // 0x77
    field public static final int RESULT_RIL_ENCODING_ERR = 109; // 0x6d
    field public static final int RESULT_RIL_GENERIC_ERROR = 124; // 0x7c
    field public static final int RESULT_RIL_INTERNAL_ERR = 113; // 0x71
    field public static final int RESULT_RIL_INVALID_ARGUMENTS = 104; // 0x68
    field public static final int RESULT_RIL_INVALID_MODEM_STATE = 115; // 0x73
+5 −0
Original line number Diff line number Diff line
@@ -2545,6 +2545,11 @@ public final class SmsManager {
     */
    public static final int RESULT_RIL_BLOCKED_DUE_TO_CALL = 123;

    /**
     * A RIL error occurred during the SMS send.
     */
    public static final int RESULT_RIL_GENERIC_ERROR = 124;

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

    /**