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

Commit 962c19e2 authored by Tyler Gunn's avatar Tyler Gunn
Browse files

DO NOT MERGE Add cc so carrier can opt to prefer an in-service sim for normal ecc call.

This carrier config is ultimately temporary and should be removed in a
future release in favor of just ALWAYS preferring an in-service sim for
a normal routed emergency call.

Test: See other CL in this chain for the tests performed.
Bug: 281934614
Bug: 299150073
Change-Id: Iac9136dc2315617e612e55ca72026dcae16f232d
parent 071a9f92
Loading
Loading
Loading
Loading
+10 −0
Original line number Original line Diff line number Diff line
@@ -1048,6 +1048,14 @@ public class CarrierConfigManager {
    public static final String KEY_CARRIER_USE_IMS_FIRST_FOR_EMERGENCY_BOOL =
    public static final String KEY_CARRIER_USE_IMS_FIRST_FOR_EMERGENCY_BOOL =
            "carrier_use_ims_first_for_emergency_bool";
            "carrier_use_ims_first_for_emergency_bool";


    /**
     * When {@code true}, this carrier will preferentially dial normal routed emergency calls over
     * an in-service SIM if one is available.
     * @hide
     */
    public static final String KEY_PREFER_IN_SERVICE_SIM_FOR_NORMAL_ROUTED_EMERGENCY_CALLS_BOOL =
            "prefer_in_service_sim_for_normal_routed_emergency_calls_bool";

    /**
    /**
     * When {@code true}, the determination of whether to place a call as an emergency call will be
     * When {@code true}, the determination of whether to place a call as an emergency call will be
     * based on the known {@link android.telephony.emergency.EmergencyNumber}s for the SIM on which
     * based on the known {@link android.telephony.emergency.EmergencyNumber}s for the SIM on which
@@ -9855,6 +9863,8 @@ public class CarrierConfigManager {
        sDefaults.putBoolean(KEY_CARRIER_IMS_GBA_REQUIRED_BOOL, false);
        sDefaults.putBoolean(KEY_CARRIER_IMS_GBA_REQUIRED_BOOL, false);
        sDefaults.putBoolean(KEY_CARRIER_INSTANT_LETTERING_AVAILABLE_BOOL, false);
        sDefaults.putBoolean(KEY_CARRIER_INSTANT_LETTERING_AVAILABLE_BOOL, false);
        sDefaults.putBoolean(KEY_CARRIER_USE_IMS_FIRST_FOR_EMERGENCY_BOOL, true);
        sDefaults.putBoolean(KEY_CARRIER_USE_IMS_FIRST_FOR_EMERGENCY_BOOL, true);
        sDefaults.putBoolean(KEY_PREFER_IN_SERVICE_SIM_FOR_NORMAL_ROUTED_EMERGENCY_CALLS_BOOL,
                false);
        sDefaults.putBoolean(KEY_USE_ONLY_DIALED_SIM_ECC_LIST_BOOL, false);
        sDefaults.putBoolean(KEY_USE_ONLY_DIALED_SIM_ECC_LIST_BOOL, false);
        sDefaults.putString(KEY_CARRIER_NETWORK_SERVICE_WWAN_PACKAGE_OVERRIDE_STRING, "");
        sDefaults.putString(KEY_CARRIER_NETWORK_SERVICE_WWAN_PACKAGE_OVERRIDE_STRING, "");
        sDefaults.putString(KEY_CARRIER_NETWORK_SERVICE_WLAN_PACKAGE_OVERRIDE_STRING, "");
        sDefaults.putString(KEY_CARRIER_NETWORK_SERVICE_WLAN_PACKAGE_OVERRIDE_STRING, "");