summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Aishwarya Mallampati <amallampati@google.com> 2023-04-13 05:09:45 +0000
committer Aishwarya Mallampati <amallampati@google.com> 2023-05-04 20:07:43 +0000
commit7db05331f3bc7c8d2aa4bb44ff3530337c4e6e98 (patch)
tree3f4835bd5e2fe5d5449dbba03548f5f07408d6aa
parentf98b950c5d3fbc04281e49b0ebe59a211039e712 (diff)
Add satellite modem busy error code.
Bug: 275670811 Change-Id: Ia90d0d2378f30660d912bc57a88e4c2bcbb2a047
-rw-r--r--telephony/java/android/telephony/satellite/SatelliteManager.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/telephony/java/android/telephony/satellite/SatelliteManager.java b/telephony/java/android/telephony/satellite/SatelliteManager.java
index fb46ff991d23..2021ac7c4cd5 100644
--- a/telephony/java/android/telephony/satellite/SatelliteManager.java
+++ b/telephony/java/android/telephony/satellite/SatelliteManager.java
@@ -278,6 +278,11 @@ public class SatelliteManager {
*/
public static final int SATELLITE_REQUEST_IN_PROGRESS = 21;
+ /**
+ * Satellite modem is currently busy due to which current request cannot be processed.
+ */
+ public static final int SATELLITE_MODEM_BUSY = 22;
+
/** @hide */
@IntDef(prefix = {"SATELLITE_"}, value = {
SATELLITE_ERROR_NONE,
@@ -301,7 +306,8 @@ public class SatelliteManager {
SATELLITE_NOT_REACHABLE,
SATELLITE_NOT_AUTHORIZED,
SATELLITE_NOT_SUPPORTED,
- SATELLITE_REQUEST_IN_PROGRESS
+ SATELLITE_REQUEST_IN_PROGRESS,
+ SATELLITE_MODEM_BUSY
})
@Retention(RetentionPolicy.SOURCE)
public @interface SatelliteError {}