Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 20a39b54 authored by jimsun's avatar jimsun
Browse files

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
parent 19e9f003
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -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,