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

Commit af60af59 authored by Hyosun Kim's avatar Hyosun Kim
Browse files

Add ACTION_SATELLITE_SUBSCRIBER_ID_LIST_CHANGED broadcast.

1. Define a new intent.
2. Added protected broadcast.
3. Remove unused device config key ( config_satellite_carrier_roaming_esos_provisioned_intent_action) values.

Bug: 361383526
Test: atest SatelliteManagerTest
Flag: com.android.internal.telephony.flags.carrier_roaming_nb_iot_ntn

Change-Id: Ib82ae1e09b830755c466393899feb6e4db0944ab
parent fbe9ad7a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -843,6 +843,7 @@
    <protected-broadcast android:name="android.app.action.CONSOLIDATED_NOTIFICATION_POLICY_CHANGED" />
    <protected-broadcast android:name="android.intent.action.MAIN_USER_LOCKSCREEN_KNOWLEDGE_FACTOR_CHANGED" />
    <protected-broadcast android:name="com.android.uwb.uwbcountrycode.GEOCODE_RETRY" />
    <protected-broadcast android:name="android.telephony.action.ACTION_SATELLITE_SUBSCRIBER_ID_LIST_CHANGED" />

    <!-- ====================================================================== -->
    <!--                          RUNTIME PERMISSIONS                           -->
+0 −4
Original line number Diff line number Diff line
@@ -440,10 +440,6 @@
    <string name="config_satellite_carrier_roaming_esos_provisioned_class" translatable="false"></string>
    <java-symbol type="string" name="config_satellite_carrier_roaming_esos_provisioned_class" />

    <!-- Telephony satellite gateway intent for handling carrier roaming to satellite is using ESOS messaging. -->
    <string name="config_satellite_carrier_roaming_esos_provisioned_intent_action" translatable="false"></string>
    <java-symbol type="string" name="config_satellite_carrier_roaming_esos_provisioned_intent_action" />

    <!-- The time duration in minutes to wait before retry validating a possible change
         in satellite allowed region. The default value is 10 minutes. -->
    <integer name="config_satellite_delay_minutes_before_retry_validating_possible_change_in_allowed_region">10</integer>
+10 −0
Original line number Diff line number Diff line
@@ -545,6 +545,16 @@ public final class SatelliteManager {
    @FlaggedApi(Flags.FLAG_CARRIER_ENABLED_SATELLITE_FLAG)
    public static final int EMERGENCY_CALL_TO_SATELLITE_HANDOVER_TYPE_T911 = 2;

    /**
     * This intent will be broadcasted if there are any change to list of subscriber informations.
     * This intent will be sent only to the app with component defined in
     * config_satellite_carrier_roaming_esos_provisioned_class and package defined in
     * config_satellite_gateway_service_package
     * @hide
     */
    public static final String ACTION_SATELLITE_SUBSCRIBER_ID_LIST_CHANGED =
            "android.telephony.action.ACTION_SATELLITE_SUBSCRIBER_ID_LIST_CHANGED";

    /**
     * Request to enable or disable the satellite modem and demo mode.
     * If satellite modem and cellular modem cannot work concurrently,