diff --git a/core/api/current.txt b/core/api/current.txt index 667b983dd2ad1..eff20c70ce158 100644 --- a/core/api/current.txt +++ b/core/api/current.txt @@ -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 diff --git a/telephony/java/android/telephony/SmsManager.java b/telephony/java/android/telephony/SmsManager.java index 4339cd20416fd..4ba76d3887f01 100644 --- a/telephony/java/android/telephony/SmsManager.java +++ b/telephony/java/android/telephony/SmsManager.java @@ -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} /**