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

Commit c2fd3d00 authored by Nathan Harold's avatar Nathan Harold
Browse files

Expose key to override the SIM country ISO

To support subscriptions that belong to a carrier located
in a country that is different from the MCC country of the
ICC, expose a CarrierConfig override that will override the
Subscription's country ISO.

Bug: 215622384
Test: atest SubscriptionManager#testCountryIso
Change-Id: Ie4cffb23cd3a1d4a2f78094d2cd04cdd08583803
parent 17055397
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -42773,6 +42773,7 @@ package android.telephony {
    field public static final String KEY_SHOW_VIDEO_CALL_CHARGES_ALERT_DIALOG_BOOL = "show_video_call_charges_alert_dialog_bool";
    field public static final String KEY_SHOW_WFC_LOCATION_PRIVACY_POLICY_BOOL = "show_wfc_location_privacy_policy_bool";
    field @Deprecated public static final String KEY_SIMPLIFIED_NETWORK_SETTINGS_BOOL = "simplified_network_settings_bool";
    field public static final String KEY_SIM_COUNTRY_ISO_OVERRIDE_STRING = "sim_country_iso_override_string";
    field public static final String KEY_SIM_NETWORK_UNLOCK_ALLOW_DISMISS_BOOL = "sim_network_unlock_allow_dismiss_bool";
    field public static final String KEY_SMDP_SERVER_ADDRESS_STRING = "smdp_server_address_string";
    field public static final String KEY_SMS_REQUIRES_DESTINATION_NUMBER_CONVERSION_BOOL = "sms_requires_destination_number_conversion_bool";
+0 −2
Original line number Diff line number Diff line
@@ -1796,8 +1796,6 @@ public class CarrierConfigManager {
     * Instead, each sim carrier should have a single country code, apply per carrier based iso
     * code as an override. The overridden value can be read from
     * {@link TelephonyManager#getSimCountryIso()} and {@link SubscriptionInfo#getCountryIso()}
     *
     * @hide
     */
    public static final String KEY_SIM_COUNTRY_ISO_OVERRIDE_STRING =
            "sim_country_iso_override_string";