Make SATELLITE_MODE_ENABLED Settings key as readable am: 9644782add

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22630057

Change-Id: I66346acebe9c83a58cae2a7a9d5d47e717d33236
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Megha Patil
2023-05-03 17:24:26 +00:00
committed by Automerger Merge Worker
2 changed files with 9 additions and 1 deletions

View File

@@ -11838,6 +11838,7 @@ public final class Settings {
*
* {@hide}
*/
@Readable
public static final String SATELLITE_MODE_RADIOS = "satellite_mode_radios";
/**
@@ -11851,6 +11852,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 {}