Ims: Add <RETRY_CALL_FAIL_REASON> and <RETRY_CALL_FAIL_NETWORK> extras

Add <RETRY_CALL_FAIL_REASON> and <RETRY_CALL_FAIL_NETWORKTYPE>
<RETRY_CALL_FAIL_REASON> holds the reason why the call
is redialed and <RETRY_CALL_FAIL_NETWORKTYPE> holds the networkType
on which lower layers may attempt redialing the call.

Test: Manual
Bug: 148315767
Change-Id: If0710b7511d0664fd3adfac65132b36b5cb3b6ba
This commit is contained in:
Ravi Paluri
2020-03-11 17:34:15 +05:30
parent 2edc5306da
commit 4a19cd8cd9

View File

@@ -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