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

am: 009b2dd158

Change-Id: Ic1f54bf78a95f85032e028957d50a30ef984b48c
This commit is contained in:
Tyler Gunn
2018-11-06 16:37:50 -08:00
committed by android-build-merger

View File

@@ -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;
}