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

Commit 9027a990 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

am: 226c56a6

Change-Id: I80e04be656eedf2f47cacf269cf5e2478ca2cc90
parents 756d5ae2 226c56a6
Loading
Loading
Loading
Loading
+8 −0
Original line number Original line Diff line number Diff line
@@ -342,6 +342,12 @@ public class DisconnectCause {
     */
     */
    public static final int TOO_MANY_ONGOING_CALLS = 75;
    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:
    // When adding a disconnect type:
    // 1) Update toString() with the newly added disconnect type.
    // 1) Update toString() with the newly added disconnect type.
@@ -505,6 +511,8 @@ public class DisconnectCause {
            return "CALLING_DISABLED";
            return "CALLING_DISABLED";
        case TOO_MANY_ONGOING_CALLS:
        case TOO_MANY_ONGOING_CALLS:
            return "TOO_MANY_ONGOING_CALLS";
            return "TOO_MANY_ONGOING_CALLS";
        case OTASP_PROVISIONING_IN_PROCESS:
            return "OTASP_PROVISIONING_IN_PROCESS";
        default:
        default:
            return "INVALID: " + cause;
            return "INVALID: " + cause;
        }
        }