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

Commit 226c56a6 authored by Tyler Gunn's avatar Tyler Gunn Committed by android-build-merger
Browse files

Merge "Add disconnect cause when outgoing call fails due to ongoing OTASP prov."

am: 009b2dd1

Change-Id: Ic1f54bf78a95f85032e028957d50a30ef984b48c
parents 79017145 009b2dd1
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -342,6 +342,12 @@ public class DisconnectCause {
     */
    public static final int TOO_MANY_ONGOING_CALLS = 75;

    /**
     * Indicates that a new outgoing call cannot be placed because OTASP provisioning is currently
     * in process.
     */
    public static final int OTASP_PROVISIONING_IN_PROCESS = 76;

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