OSDN Git Service

Add new reason code for call failed by unobtainable number
authorhaoyu li <haoyu2.li@sonyericsson.com>
Wed, 22 Nov 2017 03:49:49 +0000 (12:49 +0900)
committertakeshi tanigawa <takeshi.tanigawa@sony.com>
Mon, 19 Feb 2018 08:33:55 +0000 (08:33 +0000)
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

telephony/java/android/telephony/ims/ImsReasonInfo.java

index 7b77491..7d65430 100644 (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;