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

Commit 9124ec55 authored by Patrik Bannura's avatar Patrik Bannura Committed by Mattias Nilsson
Browse files

Make it possible to hide signal strength via Carrier Config

Carriers want to hide signal strength in Sim Status.

Bug: 69730732
Test: Add different values for two carriers in vendor.xml
and see them change when swapping sim card
Change-Id: I155c8f619a451edab85cf6422cef73e8e1686629
parent dc98d6e4
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -709,6 +709,14 @@ public class CarrierConfigManager {
     */
    public static final String KEY_SHOW_ICCID_IN_SIM_STATUS_BOOL = "show_iccid_in_sim_status_bool";

    /**
     * Flag specifying whether signal strength is hidden in SIM Status screen,
     * default to false.
     * @hide
     */
    public static final String KEY_HIDE_SIGNAL_STRENGTH_IN_SIM_STATUS_BOOL =
        "hide_signal_strength_in_sim_status_bool";

    /**
     * Flag specifying whether an additional (client initiated) intent needs to be sent on System
     * update
@@ -1737,6 +1745,7 @@ public class CarrierConfigManager {
        sDefaults.putString(KEY_CARRIER_VVM_PACKAGE_NAME_STRING, "");
        sDefaults.putStringArray(KEY_CARRIER_VVM_PACKAGE_NAME_STRING_ARRAY, null);
        sDefaults.putBoolean(KEY_SHOW_ICCID_IN_SIM_STATUS_BOOL, false);
        sDefaults.putBoolean(KEY_HIDE_SIGNAL_STRENGTH_IN_SIM_STATUS_BOOL, false);
        sDefaults.putBoolean(KEY_CI_ACTION_ON_SYS_UPDATE_BOOL, false);
        sDefaults.putString(KEY_CI_ACTION_ON_SYS_UPDATE_INTENT_STRING, "");
        sDefaults.putString(KEY_CI_ACTION_ON_SYS_UPDATE_EXTRA_STRING, "");