Add new reason code for call failed by unobtainable number

To show the "Invalid number" on the end call screen when user makes a
IMS call with unobtainable number, this reason code is used.

Test: manual - Checked that "Invalid number" is shown when make the IMS
MO call to unobtainable number.
Bug: 69940434

Change-Id: If3c54e6f55850141efad56ad7712db3c82a14f43
This commit is contained in:
haoyu li
2017-11-22 12:49:49 +09:00
committed by takeshi tanigawa
parent 9f16828767
commit f492faf405

View File

@@ -393,6 +393,12 @@ public final class ImsReasonInfo implements Parcelable {
*/
public static final int CODE_SIP_ALTERNATE_EMERGENCY_CALL = 1514;
/**
* Call failed because of unobtainable number
* @hide
*/
public static final int CODE_UNOBTAINABLE_NUMBER = 1515;
/* OEM specific error codes. To be used by OEMs when they don't want to
reveal error code which would be replaced by ERROR_UNSPECIFIED */
public static final int CODE_OEM_CAUSE_1 = 0xf001;