summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Brad Ebinger <breadley@google.com> 2018-08-29 20:03:13 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2018-08-29 20:03:13 +0000
commit2943823a8f5eb0fe1b5962875e75467ef8d783e2 (patch)
tree6817cf0de15f737201a94201f1d78036bf7384e0
parent2aba8d3d358455a73852f4fcb1fa058a6de15f26 (diff)
parent05e573e86300fda0de1750c69e5ca883ba6f4a53 (diff)
Merge "IMS: Support Robocall Feature For MT VOLTE Calls"
-rw-r--r--api/system-current.txt1
-rw-r--r--telephony/java/android/telephony/ims/ImsReasonInfo.java9
2 files changed, 10 insertions, 0 deletions
diff --git a/api/system-current.txt b/api/system-current.txt
index d95fc415bf2f..3d8c49440a96 100644
--- a/api/system-current.txt
+++ b/api/system-current.txt
@@ -5982,6 +5982,7 @@ package android.telephony.ims {
field public static final int CODE_SIP_SERVICE_UNAVAILABLE = 352; // 0x160
field public static final int CODE_SIP_TEMPRARILY_UNAVAILABLE = 336; // 0x150
field public static final int CODE_SIP_TRANSACTION_DOES_NOT_EXIST = 343; // 0x157
+ field public static final int CODE_SIP_USER_MARKED_UNWANTED = 365; // 0x16d
field public static final int CODE_SIP_USER_REJECTED = 361; // 0x169
field public static final int CODE_SUPP_SVC_CANCELLED = 1202; // 0x4b2
field public static final int CODE_SUPP_SVC_FAILED = 1201; // 0x4b1
diff --git a/telephony/java/android/telephony/ims/ImsReasonInfo.java b/telephony/java/android/telephony/ims/ImsReasonInfo.java
index b1c66f695177..8fcdb6e90569 100644
--- a/telephony/java/android/telephony/ims/ImsReasonInfo.java
+++ b/telephony/java/android/telephony/ims/ImsReasonInfo.java
@@ -185,6 +185,15 @@ public final class ImsReasonInfo implements Parcelable {
public static final int CODE_EMERGENCY_PERM_FAILURE = 364;
/**
+ * Call failure code during hangup/reject if user marked the call as unwanted.
+ *
+ * Android Telephony will receive information whether ROBO call feature is supported by the
+ * network from modem and propagate the same to AOSP as new ImsCallProfile members. OEMs can
+ * check this information and provide an option to the user to mark the call as unwanted.
+ */
+ public static final int CODE_SIP_USER_MARKED_UNWANTED = 365;
+
+ /**
* MEDIA (IMS -> Telephony)
*/
// Media resource initialization failed