diff options
| author | 2018-10-22 13:06:45 -0700 | |
|---|---|---|
| committer | 2018-10-30 14:21:25 -0700 | |
| commit | 90344780332d72e40bd24577262ab44b30e444b1 (patch) | |
| tree | 3da360cb8ea9f624bd7aff714479050081da0624 | |
| parent | f67ece13ad8a58017ac685c277ff344d00a4f6dc (diff) | |
Add disconnect cause when outgoing call fails due to ongoing OTASP prov.
Adding a new disconnect cause shown to the user when they attempt to place
a call when OTASP provisioning is in process.
Test: Manual with test intent.
Test: Added unit test.
Bug: 70843686
Change-Id: I5cecb79948c9467b4d297ac3ea06df6cc7fd41bd
| -rw-r--r-- | telephony/java/android/telephony/DisconnectCause.java | 8 |
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; } |