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

Commit a722fdf0 authored by andychou's avatar andychou Committed by Dheeraj Shetty
Browse files

Add new carrier config for supporting WPS over IMS

Some carriers allow WPS over IMS but carrier not allow.
Add a carrier config and dial WPS call over IMS or CS per config value

Bug: 131917532
Test: Override Carrier Config and test WPS over IMS or CS
Change-Id: Idb698b12ba08086584e1883cc61e31f924ae42cb
Merged-In: Idb698b12ba08086584e1883cc61e31f924ae42cb
parent 65e73f09
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -2817,6 +2817,15 @@ public class CarrierConfigManager {
    public static final String KEY_GSM_RSSI_THRESHOLDS_INT_ARRAY =
            "gsm_rssi_thresholds_int_array";

    /**
     * Determines whether Wireless Priority Service call is supported over IMS.
     *
     * See Wireless Priority Service from https://www.fcc.gov/general/wireless-priority-service-wps
     * @hide
     */
    public static final String KEY_SUPPORT_WPS_OVER_IMS_BOOL =
            "support_wps_over_ims_bool";

    /** The default value for every variable. */
    private final static PersistableBundle sDefaults;

@@ -3217,6 +3226,7 @@ public class CarrierConfigManager {
                        -97, /* SIGNAL_STRENGTH_GOOD */
                        -89,  /* SIGNAL_STRENGTH_GREAT */
                });
        sDefaults.putBoolean(KEY_SUPPORT_WPS_OVER_IMS_BOOL, true);
    }

    /**