Skip to content
Snippets Groups Projects
Commit 9644782a authored by Megha Patil's avatar Megha Patil Committed by Aishwarya Mallampati
Browse files

Make SATELLITE_MODE_ENABLED Settings key as readable

- SATELLITE_MODE_ENABLED is made readable inorder for CTS
to access

Bug: b/277057547

Test: atest android.telephony.satellite.cts.SatelliteManagerTestOnMockService
atest android.telephony.satellite.cts.SatelliteManagerTest

Change-Id: I784a72f1b9e10fff7e3ae8b7e196e08fca365e75
parent 8452c883
No related branches found
No related tags found
No related merge requests found
...@@ -11819,6 +11819,7 @@ public final class Settings { ...@@ -11819,6 +11819,7 @@ public final class Settings {
* *
* {@hide} * {@hide}
*/ */
@Readable
public static final String SATELLITE_MODE_RADIOS = "satellite_mode_radios"; public static final String SATELLITE_MODE_RADIOS = "satellite_mode_radios";
   
/** /**
...@@ -11832,6 +11833,7 @@ public final class Settings { ...@@ -11832,6 +11833,7 @@ public final class Settings {
* *
* {@hide} * {@hide}
*/ */
@Readable
public static final String SATELLITE_MODE_ENABLED = "satellite_mode_enabled"; public static final String SATELLITE_MODE_ENABLED = "satellite_mode_enabled";
   
/** /**
......
...@@ -273,6 +273,11 @@ public class SatelliteManager { ...@@ -273,6 +273,11 @@ public class SatelliteManager {
*/ */
public static final int SATELLITE_NOT_SUPPORTED = 20; public static final int SATELLITE_NOT_SUPPORTED = 20;
/**
* The current request is already in-progress.
*/
public static final int SATELLITE_REQUEST_IN_PROGRESS = 21;
/** @hide */ /** @hide */
@IntDef(prefix = {"SATELLITE_"}, value = { @IntDef(prefix = {"SATELLITE_"}, value = {
SATELLITE_ERROR_NONE, SATELLITE_ERROR_NONE,
...@@ -295,7 +300,8 @@ public class SatelliteManager { ...@@ -295,7 +300,8 @@ public class SatelliteManager {
SATELLITE_NETWORK_TIMEOUT, SATELLITE_NETWORK_TIMEOUT,
SATELLITE_NOT_REACHABLE, SATELLITE_NOT_REACHABLE,
SATELLITE_NOT_AUTHORIZED, SATELLITE_NOT_AUTHORIZED,
SATELLITE_NOT_SUPPORTED SATELLITE_NOT_SUPPORTED,
SATELLITE_REQUEST_IN_PROGRESS
}) })
@Retention(RetentionPolicy.SOURCE) @Retention(RetentionPolicy.SOURCE)
public @interface SatelliteError {} public @interface SatelliteError {}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment