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

Commit c2f27f7c authored by Youming Ye's avatar Youming Ye Committed by android-build-merger
Browse files

Merge "Add MEDIA_TIMEOUT error for RTCP timeout"

am: 6f2341ad

Change-Id: Ie7b32d9fbe7f453e6ee8b97352aeaae56af1181e
parents 97c67880 6f2341ad
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -333,6 +333,13 @@ public final class DisconnectCause {
     */
    public static final int OTASP_PROVISIONING_IN_PROCESS = 76;

    /**
     * Indicates that the call is dropped due to RTCP inactivity, primarily due to media path
     * disruption.
     * @hide
     */
    public static final int MEDIA_TIMEOUT = 77;

    //*********************************************************************************************
    // When adding a disconnect type:
    // 1) Update toString() with the newly added disconnect type.
@@ -501,6 +508,8 @@ public final class DisconnectCause {
            return "TOO_MANY_ONGOING_CALLS";
        case OTASP_PROVISIONING_IN_PROCESS:
            return "OTASP_PROVISIONING_IN_PROCESS";
        case MEDIA_TIMEOUT:
            return "MEDIA_TIMEOUT";
        default:
            return "INVALID: " + cause;
        }