Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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";
        /**
+7 −1
Original line number Diff line number Diff line
@@ -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 {}