summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Tyler Gunn <tgunn@google.com> 2018-11-06 23:32:05 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2018-11-06 23:32:05 +0000
commit009b2dd158183062f4c9ad681636797350699f57 (patch)
treef71079ab3e925717b1c6f2005a99c04edd01172d
parent5bb1e8c9bc415d2be80524de2e43706e5c58d96a (diff)
parent90344780332d72e40bd24577262ab44b30e444b1 (diff)
Merge "Add disconnect cause when outgoing call fails due to ongoing OTASP prov."
-rw-r--r--telephony/java/android/telephony/DisconnectCause.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/telephony/java/android/telephony/DisconnectCause.java b/telephony/java/android/telephony/DisconnectCause.java
index d7169b23d94b..c6887ab93109 100644
--- a/telephony/java/android/telephony/DisconnectCause.java
+++ b/telephony/java/android/telephony/DisconnectCause.java
@@ -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;
}