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

Commit c7d7ab7f authored by Vineeta Srivastava's avatar Vineeta Srivastava
Browse files

wifi calling emergency address carrier config

Add a carrier config for providing emergency address to carriers for
WiFi Calling use case.

Bug: 28404126
Change-Id: I33ed973d5ce6c9503412d5d97aa7278aaae888b5
parent d73ece96
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -591,6 +591,14 @@ public class CarrierConfigManager {
    /** @hide */
    public static final String KEY_WFC_DATA_SPN_FORMAT_IDX_INT = "wfc_data_spn_format_idx_int";

    /**
     * The Component Name of the activity that can setup the emergency addrees for WiFi Calling
     * as per carrier requirement.
     * @hide
     */
     public static final String KEY_WFC_EMERGENCY_ADDRESS_CARRIER_APP_STRING =
            "wfc_emergency_address_carrier_app_string";

    /**
     * If this is true, the SIM card (through Customer Service Profile EF file) will be able to
     * prevent manual operator selection. If false, this SIM setting will be ignored and manual
@@ -802,6 +810,7 @@ public class CarrierConfigManager {
        sDefaults.putStringArray(KEY_WFC_OPERATOR_ERROR_CODES_STRING_ARRAY, null);
        sDefaults.putInt(KEY_WFC_SPN_FORMAT_IDX_INT, 0);
        sDefaults.putInt(KEY_WFC_DATA_SPN_FORMAT_IDX_INT, 0);
        sDefaults.putString(KEY_WFC_EMERGENCY_ADDRESS_CARRIER_APP_STRING, "");
        sDefaults.putBoolean(KEY_CONFIG_WIFI_DISABLE_IN_ECBM, false);

        // MMS defaults