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

Commit 46b32df1 authored by Youming Ye's avatar Youming Ye Committed by Tyler Gunn
Browse files

Add MEDIA_TIMEOUT error for RTCP timeout

Bug: 130167535
Test: Build
Change-Id: I7498072a1c6a9ecf084308e91db07f3731969106
parent 2c89115c
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;
        }