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

Commit 413e1b14 authored by Hakjun Choi's avatar Hakjun Choi Committed by Android (Google) Code Review
Browse files

Merge "Add SubscriptionManager APIs for satellite communication." into main

parents c95f92b3 7303de3a
Loading
Loading
Loading
Loading
+12 −1
Original line number Diff line number Diff line
@@ -4905,6 +4905,16 @@ public final class Telephony {
         */
        public static final String COLUMN_SATELLITE_ENABLED = "satellite_enabled";

        /**
         * TelephonyProvider column name for satellite attach enabled for carrier. The value of this
         * column is set based on user settings.
         * By default, it's disabled.
         *
         * @hide
         */
        public static final String COLUMN_SATELLITE_ATTACH_ENABLED_FOR_CARRIER =
                "satellite_attach_enabled_for_carrier";

        /** All columns in {@link SimInfo} table. */
        private static final List<String> ALL_COLUMNS = List.of(
                COLUMN_UNIQUE_KEY_SUBSCRIPTION_ID,
@@ -4974,7 +4984,8 @@ public final class Telephony {
                COLUMN_USAGE_SETTING,
                COLUMN_TP_MESSAGE_REF,
                COLUMN_USER_HANDLE,
                COLUMN_SATELLITE_ENABLED
                COLUMN_SATELLITE_ENABLED,
                COLUMN_SATELLITE_ATTACH_ENABLED_FOR_CARRIER
        );

        /**
+10 −0
Original line number Diff line number Diff line
@@ -1107,6 +1107,16 @@ public class SubscriptionManager {
     */
    public static final String SATELLITE_ENABLED = SimInfo.COLUMN_SATELLITE_ENABLED;

    /**
     * TelephonyProvider column name for satellite attach enabled for carrier. The value of this
     * column is set based on user settings.
     * By default, it's disabled.
     * <P>Type: INTEGER (int)</P>
     * @hide
     */
    public static final String SATELLITE_ATTACH_ENABLED_FOR_CARRIER =
            SimInfo.COLUMN_SATELLITE_ATTACH_ENABLED_FOR_CARRIER;

    /** @hide */
    @Retention(RetentionPolicy.SOURCE)
    @IntDef(prefix = {"USAGE_SETTING_"},