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

Commit 4583ccb9 authored by Nishizawa Nobuhiro's avatar Nishizawa Nobuhiro Committed by takeshi tanigawa
Browse files

Add carrier config to show wifi calling icon in status bar

Add a new carrier config to control whether to show wifi calling icon
in status bar.

Test: manual
Bug: 37493651

Change-Id: Ib83bc042f6d95535a09769e5cdea648cc1d501a4
parent b666519a
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -2922,6 +2922,13 @@ public class CarrierConfigManager {
    public static final String KEY_ASCII_7_BIT_SUPPORT_FOR_LONG_MESSAGE_BOOL =
            "ascii_7_bit_support_for_long_message_bool";

    /**
     * Controls whether to show wifi calling icon in statusbar when wifi calling is available.
     * @hide
     */
    public static final String KEY_SHOW_WIFI_CALLING_ICON_IN_STATUS_BAR_BOOL =
            "show_wifi_calling_icon_in_status_bar_bool";

    /**
     * Controls RSRP threshold at which OpportunisticNetworkService will decide whether
     * the opportunistic network is good enough for internet data.
@@ -3837,6 +3844,7 @@ public class CarrierConfigManager {
                "connected_mmwave:5G,connected:5G");
        sDefaults.putInt(KEY_5G_ICON_DISPLAY_GRACE_PERIOD_SEC_INT, 0);
        sDefaults.putBoolean(KEY_ASCII_7_BIT_SUPPORT_FOR_LONG_MESSAGE_BOOL, false);
        sDefaults.putBoolean(KEY_SHOW_WIFI_CALLING_ICON_IN_STATUS_BAR_BOOL, false);
        /* Default value is minimum RSRP level needed for SIGNAL_STRENGTH_GOOD */
        sDefaults.putInt(KEY_OPPORTUNISTIC_NETWORK_ENTRY_THRESHOLD_RSRP_INT, -108);
        /* Default value is minimum RSRP level needed for SIGNAL_STRENGTH_MODERATE */