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

Commit efa0fa98 authored by Sonalika Paul's avatar Sonalika Paul
Browse files

IMS: Add new carrier config.

Add new carrier config to determine
default RTT mode.

Bug: 130010750
Change-Id: Id8de3749a336144ce053151a74c42a113b925369
parent 29823649
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -4076,6 +4076,18 @@ public class CarrierConfigManager {
    public static final String KEY_USE_LOWER_MTU_VALUE_IF_BOTH_RECEIVED =
            "use_lower_mtu_value_if_both_received";

    /**
     * Determines the default RTT mode.
     *
     * Upon first boot, when the user has not yet set a value for their preferred RTT mode,
     * the value of this config will be sent to the IMS stack. Valid values are the same as for
     * {@link Settings.Secure#RTT_CALLING_MODE}.
     *
     * @hide
     */
    public static final String KEY_DEFAULT_RTT_MODE_INT =
            "default_rtt_mode_int";

    /**
     * Indicates if auto-configuration server is used for the RCS config
     * Reference: GSMA RCC.14
@@ -4628,6 +4640,7 @@ public class CarrierConfigManager {
        sDefaults.putString(KEY_CALL_COMPOSER_PICTURE_SERVER_URL_STRING, "");
        sDefaults.putBoolean(KEY_USE_LOWER_MTU_VALUE_IF_BOTH_RECEIVED, false);
        sDefaults.putBoolean(KEY_USE_ACS_FOR_RCS_BOOL, false);
        sDefaults.putInt(KEY_DEFAULT_RTT_MODE_INT, 0);
    }

    /**