From 4a19cd8cd94abe0f9b433f9cf9ceac402d82806c Mon Sep 17 00:00:00 2001 From: Ravi Paluri Date: Wed, 11 Mar 2020 17:34:15 +0530 Subject: [PATCH] Ims: Add and extras Add and holds the reason why the call is redialed and holds the networkType on which lower layers may attempt redialing the call. Test: Manual Bug: 148315767 Change-Id: If0710b7511d0664fd3adfac65132b36b5cb3b6ba --- .../android/telephony/ims/ImsCallProfile.java | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/telephony/java/android/telephony/ims/ImsCallProfile.java b/telephony/java/android/telephony/ims/ImsCallProfile.java index a7d553b60abfe..9e466aea97764 100644 --- a/telephony/java/android/telephony/ims/ImsCallProfile.java +++ b/telephony/java/android/telephony/ims/ImsCallProfile.java @@ -182,6 +182,25 @@ public final class ImsCallProfile implements Parcelable { * {@link ImsCallProfile#DIALSTRING_USSD} */ public static final String EXTRA_DIALSTRING = "dialstring"; + /** + * This extra holds call fail cause because of which redial is attempted. + * see {@link android.telephony.ims.ImsReasonInfo} {@code CODE_*} + * for possible values this extra can hold. + * + * @hide + */ + public static final String EXTRA_RETRY_CALL_FAIL_REASON = + "android.telephony.ims.extra.RETRY_CALL_FAIL_REASON"; + /** + * This extra holds call network type on which lower layers + * may try attempting redial. + * See {@link TelephonyManager} {@code NETWORK_TYPE_*} + * for possible values this extra can hold. + * + * @hide + */ + public static final String EXTRA_RETRY_CALL_FAIL_NETWORKTYPE = + "android.telephony.ims.extra.RETRY_CALL_FAIL_NETWORKTYPE"; /** * Values for EXTRA_OIR / EXTRA_CNAP