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

Commit 412e18a8 authored by Sarah Chin's avatar Sarah Chin Committed by Sarah Kim
Browse files

Add carrier config to hide roaming indicator

Test: atest DisplayInfoControllerTest
Bug: 302395185
Change-Id: Ifb13cff474d3c4cd0febec620338674e02b58217
parent ce80e37f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -43123,6 +43123,7 @@ package android.telephony {
    field public static final String KEY_SHOW_ICCID_IN_SIM_STATUS_BOOL = "show_iccid_in_sim_status_bool";
    field public static final String KEY_SHOW_IMS_REGISTRATION_STATUS_BOOL = "show_ims_registration_status_bool";
    field public static final String KEY_SHOW_ONSCREEN_DIAL_BUTTON_BOOL = "show_onscreen_dial_button_bool";
    field @FlaggedApi("com.android.internal.telephony.flags.hide_roaming_icon") public static final String KEY_SHOW_ROAMING_INDICATOR_BOOL = "show_roaming_indicator_bool";
    field public static final String KEY_SHOW_SIGNAL_STRENGTH_IN_SIM_STATUS_BOOL = "show_signal_strength_in_sim_status_bool";
    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";
+14 −5
Original line number Diff line number Diff line
@@ -3147,6 +3147,14 @@ public class CarrierConfigManager {
     */
    public static final String KEY_ROAMING_OPERATOR_STRING_ARRAY = "roaming_operator_string_array";

    /**
     * Config to show the roaming indicator (i.e. the "R" icon) from the status bar when roaming.
     * The roaming indicator will be shown if this is {@code true} and will not be shown if this is
     * {@code false}.
     */
    @FlaggedApi(Flags.FLAG_HIDE_ROAMING_ICON)
    public static final String KEY_SHOW_ROAMING_INDICATOR_BOOL = "show_roaming_indicator_bool";

    /**
     * URL from which the proto containing the public key of the Carrier used for
     * IMSI encryption will be downloaded.
@@ -3313,11 +3321,11 @@ public class CarrierConfigManager {
     * If {@code false} the SPN display checks if the current MCC/MNC is different from the
     * SIM card's MCC/MNC.
     *
     * @see KEY_GSM_ROAMING_NETWORKS_STRING_ARRAY
     * @see KEY_GSM_NONROAMING_NETWORKS_STRING_ARRAY
     * @see KEY_NON_ROAMING_OPERATOR_STRING_ARRAY
     * @see KEY_ROAMING_OPERATOR_STRING_ARRAY
     * @see KEY_FORCE_HOME_NETWORK_BOOL
     * @see #KEY_GSM_ROAMING_NETWORKS_STRING_ARRAY
     * @see #KEY_GSM_NONROAMING_NETWORKS_STRING_ARRAY
     * @see #KEY_NON_ROAMING_OPERATOR_STRING_ARRAY
     * @see #KEY_ROAMING_OPERATOR_STRING_ARRAY
     * @see #KEY_FORCE_HOME_NETWORK_BOOL
     *
     * @hide
     */
@@ -10194,6 +10202,7 @@ public class CarrierConfigManager {
                false);
        sDefaults.putStringArray(KEY_NON_ROAMING_OPERATOR_STRING_ARRAY, null);
        sDefaults.putStringArray(KEY_ROAMING_OPERATOR_STRING_ARRAY, null);
        sDefaults.putBoolean(KEY_SHOW_ROAMING_INDICATOR_BOOL, true);
        sDefaults.putBoolean(KEY_SHOW_IMS_REGISTRATION_STATUS_BOOL, false);
        sDefaults.putBoolean(KEY_RTT_SUPPORTED_BOOL, false);
        sDefaults.putBoolean(KEY_TTY_SUPPORTED_BOOL, true);