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

Commit c7b56b47 authored by Hall Liu's avatar Hall Liu Committed by android-build-merger
Browse files

Merge "Add carrier config for ignoring user RTT setting" into qt-r1-dev

am: 5ca4cef9

Change-Id: Ib113d05e3bace5992309ebe71bdf8818620a3db2
parents 14a70fff 5ca4cef9
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -1009,6 +1009,18 @@ public class CarrierConfigManager {
    public static final String KEY_CALL_FORWARDING_MAP_NON_NUMBER_TO_VOICEMAIL_BOOL =
            "call_forwarding_map_non_number_to_voicemail_bool";

    /**
     * When {@code true}, the phone will always tell the IMS stack to keep RTT enabled and
     * determine on a per-call basis (based on extras from the dialer app) whether a call should be
     * an RTT call or not.
     *
     * When {@code false}, the old behavior is used, where the toggle in accessibility settings is
     * used to set the IMS stack's RTT enabled state.
     * @hide
     */
    public static final String KEY_IGNORE_RTT_MODE_SETTING_BOOL =
            "ignore_rtt_mode_setting_bool";

    /**
     * Determines whether conference calls are supported by a carrier.  When {@code true},
     * conference calling is supported, {@code false otherwise}.
@@ -3210,6 +3222,7 @@ public class CarrierConfigManager {
        sDefaults.putInt(KEY_IMS_DTMF_TONE_DELAY_INT, 0);
        sDefaults.putInt(KEY_CDMA_DTMF_TONE_DELAY_INT, 100);
        sDefaults.putBoolean(KEY_CALL_FORWARDING_MAP_NON_NUMBER_TO_VOICEMAIL_BOOL, false);
        sDefaults.putBoolean(KEY_IGNORE_RTT_MODE_SETTING_BOOL, false);
        sDefaults.putInt(KEY_CDMA_3WAYCALL_FLASH_DELAY_INT , 0);
        sDefaults.putBoolean(KEY_SUPPORT_CONFERENCE_CALL_BOOL, true);
        sDefaults.putBoolean(KEY_SUPPORT_IMS_CONFERENCE_CALL_BOOL, true);