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

Commit 9ee4375c authored by Richard LIU's avatar Richard LIU Committed by Linux Build Service Account
Browse files

Add config to disable CDMA call fwd/waiting

Add config to disable CDMA call forwarding and call
waiting by default

Change-Id: I2752cb38d6a6627a14afb892ead5bc3bf4ef00e1
parent c4f67aad
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -615,6 +615,12 @@ public class CarrierConfigManager {
    public static final String KEY_BROADCAST_EMERGENCY_CALL_STATE_CHANGES_BOOL =
            "broadcast_emergency_call_state_changes_bool";

    /**
     * Flag specifying whether CDMA call waiting and call forwarding are enabled
     * @hide
     */
    public static final String KEY_CDMA_CW_CF_ENABLED_BOOL = "cdma_cw_cf_enabled_bool";

    // These variables are used by the MMS service and exposed through another API, {@link
    // SmsManager}. The variable names and string values are copied from there.
    public static final String KEY_MMS_ALIAS_ENABLED_BOOL = "aliasEnabled";
@@ -798,6 +804,7 @@ public class CarrierConfigManager {
                new String[]{"default", "mms", "dun", "supl"});
        sDefaults.putStringArray(KEY_CARRIER_METERED_ROAMING_APN_TYPES_STRINGS,
                new String[]{"default", "mms", "dun", "supl"});
        sDefaults.putBoolean(KEY_CDMA_CW_CF_ENABLED_BOOL, false);

        sDefaults.putStringArray(KEY_GSM_ROAMING_NETWORKS_STRING_ARRAY, null);
        sDefaults.putStringArray(KEY_GSM_NONROAMING_NETWORKS_STRING_ARRAY, null);