Add a specific result code for RIL generic failures

Bug: 199203243
Test: manually tested sending/receiving SMS/MMS
Change-Id: I4400de69586e1d60a203e444201fabd30152f047
This commit is contained in:
Tom Taylor
2021-11-08 15:01:37 -08:00
parent c7bbb64f49
commit 74f75dcf57
2 changed files with 6 additions and 0 deletions

View File

@@ -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

View File

@@ -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}
/**