Add a new reason code for IMS call failed due to network congestion

Bug: 175370724
Test: Simulate call end reason from vendor code and check IMS call
      end reason is correctly mapped.
Change-Id: Iea0a5115548530350c5a2645cdf5487870943f72
This commit is contained in:
jimsun
2021-01-15 15:10:59 +08:00
parent 19e9f00346
commit 20a39b541c

View File

@@ -889,6 +889,13 @@ public final class ImsReasonInfo implements Parcelable {
*/
public static final int CODE_WFC_SERVICE_NOT_AVAILABLE_IN_THIS_LOCATION = 1623;
/**
* Call failed because of network congestion, resource is not available,
* or no circuit or channel available, etc.
* @hide
*/
public static final int CODE_NETWORK_CONGESTION = 1624;
/**
* The dialed RTT call should be retried without RTT
* @hide
@@ -1075,6 +1082,7 @@ public final class ImsReasonInfo implements Parcelable {
CODE_REJECT_VT_AVPF_NOT_ALLOWED,
CODE_REJECT_ONGOING_ENCRYPTED_CALL,
CODE_REJECT_ONGOING_CS_CALL,
CODE_NETWORK_CONGESTION,
CODE_RETRY_ON_IMS_WITHOUT_RTT,
CODE_OEM_CAUSE_1,
CODE_OEM_CAUSE_2,