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

Commit ef800080 authored by Hall Liu's avatar Hall Liu
Browse files

Add carrier config for allowing merge of RTT calls

Add a carrier config key that specifies whether merging an RTT call is
allowed.

Bug: 136035168
Test: manual

Change-Id: I8cfdf68c69b50abed88d7c835db0480a53755f5a
parent 403bf951
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -467,6 +467,14 @@ public class CarrierConfigManager {
    public static final String KEY_NOTIFY_HANDOVER_VIDEO_FROM_WIFI_TO_LTE_BOOL =
            "notify_handover_video_from_wifi_to_lte_bool";

    /**
     * Flag specifying whether the carrier supports merging a RTT call with a voice call,
     * downgrading the call in the process.
     * @hide
     */
    public static final String KEY_ALLOW_MERGING_RTT_CALLS_BOOL =
             "allow_merging_rtt_calls_bool";

    /**
     * Flag specifying whether the carrier wants to notify the user when a VT call has been handed
     * over from LTE to WIFI.
@@ -3057,6 +3065,7 @@ public class CarrierConfigManager {
        sDefaults.putBoolean(KEY_CARRIER_VOLTE_AVAILABLE_BOOL, false);
        sDefaults.putBoolean(KEY_CARRIER_VT_AVAILABLE_BOOL, false);
        sDefaults.putBoolean(KEY_NOTIFY_HANDOVER_VIDEO_FROM_WIFI_TO_LTE_BOOL, false);
        sDefaults.putBoolean(KEY_ALLOW_MERGING_RTT_CALLS_BOOL, false);
        sDefaults.putBoolean(KEY_NOTIFY_HANDOVER_VIDEO_FROM_LTE_TO_WIFI_BOOL, false);
        sDefaults.putBoolean(KEY_SUPPORT_DOWNGRADE_VT_TO_AUDIO_BOOL, true);
        sDefaults.putString(KEY_DEFAULT_VM_NUMBER_STRING, "");