From b3e1083ff06155530c5ba91aa762c58e53d1fcc1 Mon Sep 17 00:00:00 2001 From: Ajay Nambi Date: Fri, 11 Mar 2016 12:05:25 -0800 Subject: [PATCH] New error codes for SMS/other messages This change adds error codes for messages related to SMS and set_mute, get_mute requests Bug: 27038563 Change-Id: I9b989ae8b99da5e24f4f698f34f2c35b2a48ecbd --- telephony/java/com/android/internal/telephony/RILConstants.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/telephony/java/com/android/internal/telephony/RILConstants.java b/telephony/java/com/android/internal/telephony/RILConstants.java index 7f90731d2f72..4f0e036e04ca 100644 --- a/telephony/java/com/android/internal/telephony/RILConstants.java +++ b/telephony/java/com/android/internal/telephony/RILConstants.java @@ -97,6 +97,12 @@ public interface RILConstants { int NETWORK_REJECT = 53; /* Request is rejected by network */ int OPERATION_NOT_ALLOWED = 54; /* Not allowed the request now */ int EMPTY_RECORD = 55; /* The request record is empty */ + int INVALID_SMS_FORMAT = 56; /* Invalid sms format */ + int ENCODING_ERR = 57; /* Message not encoded properly */ + int INVALID_SMSC_ADDRESS = 58; /* SMSC address specified is invalid */ + int NO_SUCH_ENTRY = 59; /* No such entry present to perform the request */ + int NETWORK_NOT_READY = 60; /* Network is not ready to perform the request */ + int NOT_PROVISIONED = 61; /* Device doesnot have this value provisioned */ // Below is list of OEM specific error codes which can by used by OEMs in case they don't want to // reveal particular replacement for Generic failure int OEM_ERROR_1 = 501; -- 2.11.0