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

Commit 13c9602c authored by Sarah Chin's avatar Sarah Chin
Browse files

Add carrier config to hide roaming indicator

Test: atest DisplayInfoControllerTest
Bug: 302395185
Change-Id: Ifb13cff474d3c4cd0febec620338674e02b58217
Merged-In: Ifb13cff474d3c4cd0febec620338674e02b58217
parent 77589ba0
Loading
Loading
Loading
Loading
+15 −5
Original line number Original line Diff line number Diff line
@@ -3140,6 +3140,15 @@ public class CarrierConfigManager {
     */
     */
    public static final String KEY_ROAMING_OPERATOR_STRING_ARRAY = "roaming_operator_string_array";
    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}.
     *
     * @hide
     */
    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
     * URL from which the proto containing the public key of the Carrier used for
     * IMSI encryption will be downloaded.
     * IMSI encryption will be downloaded.
@@ -3306,11 +3315,11 @@ public class CarrierConfigManager {
     * If {@code false} the SPN display checks if the current MCC/MNC is different from the
     * If {@code false} the SPN display checks if the current MCC/MNC is different from the
     * SIM card's MCC/MNC.
     * SIM card's MCC/MNC.
     *
     *
     * @see KEY_GSM_ROAMING_NETWORKS_STRING_ARRAY
     * @see #KEY_GSM_ROAMING_NETWORKS_STRING_ARRAY
     * @see KEY_GSM_NONROAMING_NETWORKS_STRING_ARRAY
     * @see #KEY_GSM_NONROAMING_NETWORKS_STRING_ARRAY
     * @see KEY_NON_ROAMING_OPERATOR_STRING_ARRAY
     * @see #KEY_NON_ROAMING_OPERATOR_STRING_ARRAY
     * @see KEY_ROAMING_OPERATOR_STRING_ARRAY
     * @see #KEY_ROAMING_OPERATOR_STRING_ARRAY
     * @see KEY_FORCE_HOME_NETWORK_BOOL
     * @see #KEY_FORCE_HOME_NETWORK_BOOL
     *
     *
     * @hide
     * @hide
     */
     */
@@ -10168,6 +10177,7 @@ public class CarrierConfigManager {
                false);
                false);
        sDefaults.putStringArray(KEY_NON_ROAMING_OPERATOR_STRING_ARRAY, null);
        sDefaults.putStringArray(KEY_NON_ROAMING_OPERATOR_STRING_ARRAY, null);
        sDefaults.putStringArray(KEY_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_SHOW_IMS_REGISTRATION_STATUS_BOOL, false);
        sDefaults.putBoolean(KEY_RTT_SUPPORTED_BOOL, false);
        sDefaults.putBoolean(KEY_RTT_SUPPORTED_BOOL, false);
        sDefaults.putBoolean(KEY_TTY_SUPPORTED_BOOL, true);
        sDefaults.putBoolean(KEY_TTY_SUPPORTED_BOOL, true);