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

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

Merge "Add a key to provide the default capabilities for satellite service" into 24D1-dev

parents bb950542 5f76b935
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
@@ -9873,6 +9873,21 @@ public class CarrierConfigManager {
    public static final String KEY_SATELLITE_INFORMATION_REDIRECT_URL_STRING =
            "satellite_information_redirect_url_string";
    /**
     * An int array that contains default capabilities for carrier enabled satellite roaming.
     * If any PLMN is provided from the entitlement server, and it is not listed in
     * {@link #KEY_CARRIER_SUPPORTED_SATELLITE_SERVICES_PER_PROVIDER_BUNDLE}, default capabilities
     * will be used instead.
     * <p>
     * The default capabilities are
     * {@link NetworkRegistrationInfo#SERVICE_TYPE_SMS}, and
     * {@link NetworkRegistrationInfo#SERVICE_TYPE_MMS}
     *
     * @hide
     */
    public static final String KEY_CARRIER_ROAMING_SATELLITE_DEFAULT_SERVICES_INT_ARRAY =
            "carrier_roaming_satellite_default_services_int_array";
    /**
     * Indicating whether DUN APN should be disabled when the device is roaming. In that case,
     * the default APN (i.e. internet) will be used for tethering.
@@ -10993,6 +11008,11 @@ public class CarrierConfigManager {
        sDefaults.putBoolean(KEY_SATELLITE_ENTITLEMENT_SUPPORTED_BOOL, false);
        sDefaults.putString(KEY_SATELLITE_ENTITLEMENT_APP_NAME_STRING, "androidSatmode");
        sDefaults.putString(KEY_SATELLITE_INFORMATION_REDIRECT_URL_STRING, "");
        sDefaults.putIntArray(KEY_CARRIER_ROAMING_SATELLITE_DEFAULT_SERVICES_INT_ARRAY,
                new int[] {
                        NetworkRegistrationInfo.SERVICE_TYPE_SMS,
                        NetworkRegistrationInfo.SERVICE_TYPE_MMS
                });
        sDefaults.putBoolean(KEY_DISABLE_DUN_APN_WHILE_ROAMING_WITH_PRESET_APN_BOOL, false);
        sDefaults.putString(KEY_DEFAULT_PREFERRED_APN_NAME_STRING, "");
        sDefaults.putBoolean(KEY_SUPPORTS_CALL_COMPOSER_BOOL, false);