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

Commit 5c88ba0d authored by Tyler Gunn's avatar Tyler Gunn Committed by android-build-merger
Browse files

Add carrier config to indicate whether to notify of vt handover failure.

am: 0f20d934

Change-Id: Ibfa7d39871717ce46971b1999d9eab09fb1931c1
parents 131368be 0f20d934
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -900,6 +900,19 @@ public class CarrierConfigManager {
    public static final String KEY_ENHANCED_4G_LTE_TITLE_VARIANT_BOOL =
            "enhanced_4g_lte_title_variant_bool";

    /**
     * Indicates whether the carrier wants to notify the user when handover of an LTE video call to
     * WIFI fails.
     * <p>
     * When {@code true}, if a video call starts on LTE and the modem reports a failure to handover
     * the call to WIFI or if no handover success is reported within 60 seconds of call initiation,
     * the {@link android.telephony.TelephonyManager#EVENT_HANDOVER_TO_WIFI_FAILED} event is raised
     * on the connection.
     * @hide
     */
    public static final String KEY_NOTIFY_VT_HANDOVER_TO_WIFI_FAILURE_BOOL =
            "notify_vt_handover_to_wifi_failure_bool";

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

@@ -1065,6 +1078,7 @@ public class CarrierConfigManager {

        sDefaults.putStringArray(KEY_IMS_REASONINFO_MAPPING_STRING_ARRAY, null);
        sDefaults.putBoolean(KEY_ENHANCED_4G_LTE_TITLE_VARIANT_BOOL, false);
        sDefaults.putBoolean(KEY_NOTIFY_VT_HANDOVER_TO_WIFI_FAILURE_BOOL, false);
    }

    /**