From 9fb4f0b0476e5e8808a3525f4e36cb6790d651f5 Mon Sep 17 00:00:00 2001 From: Aishwarya Mallampati Date: Thu, 4 May 2023 21:56:18 +0000 Subject: Add SATELLITE_REQUEST_IN_PROGRESS, SATELLITE_MODEM_BUSY error codes. Bug: 275670811 Change-Id: Ic2d173602d868d7b58adf5e28855c94e81256e9b --- .../telephony/satellite/wrapper/SatelliteManagerWrapper.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/satellite_client/src/android/telephony/satellite/wrapper/SatelliteManagerWrapper.java b/satellite_client/src/android/telephony/satellite/wrapper/SatelliteManagerWrapper.java index ef3115b..c91eb59 100644 --- a/satellite_client/src/android/telephony/satellite/wrapper/SatelliteManagerWrapper.java +++ b/satellite_client/src/android/telephony/satellite/wrapper/SatelliteManagerWrapper.java @@ -290,6 +290,10 @@ public class SatelliteManagerWrapper { public static final int SATELLITE_NOT_AUTHORIZED = 19; /** The device does not support satellite. */ public static final int SATELLITE_NOT_SUPPORTED = 20; + /** The current request is already in-progress. */ + 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( @@ -315,7 +319,9 @@ public class SatelliteManagerWrapper { SATELLITE_NETWORK_TIMEOUT, SATELLITE_NOT_REACHABLE, SATELLITE_NOT_AUTHORIZED, - SATELLITE_NOT_SUPPORTED + SATELLITE_NOT_SUPPORTED, + SATELLITE_REQUEST_IN_PROGRESS, + SATELLITE_MODEM_BUSY }) @Retention(RetentionPolicy.SOURCE) public @interface SatelliteError {} -- cgit v1.2.3