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
This commit is contained in:
Megha Patil
2023-04-13 20:45:34 +00:00
committed by Aishwarya Mallampati
parent 8452c8833f
commit 9644782add
2 changed files with 9 additions and 1 deletions

View File

@@ -11819,6 +11819,7 @@ public final class Settings {
*
* {@hide}
*/
@Readable
public static final String SATELLITE_MODE_RADIOS = "satellite_mode_radios";
/**
@@ -11832,6 +11833,7 @@ public final class Settings {
*
* {@hide}
*/
@Readable
public static final String SATELLITE_MODE_ENABLED = "satellite_mode_enabled";
/**

View File

@@ -273,6 +273,11 @@ public class SatelliteManager {
*/
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 */
@IntDef(prefix = {"SATELLITE_"}, value = {
SATELLITE_ERROR_NONE,
@@ -295,7 +300,8 @@ public class SatelliteManager {
SATELLITE_NETWORK_TIMEOUT,
SATELLITE_NOT_REACHABLE,
SATELLITE_NOT_AUTHORIZED,
SATELLITE_NOT_SUPPORTED
SATELLITE_NOT_SUPPORTED,
SATELLITE_REQUEST_IN_PROGRESS
})
@Retention(RetentionPolicy.SOURCE)
public @interface SatelliteError {}