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

Commit c9cfb504 authored by Alex Khlivnuik's avatar Alex Khlivnuik Committed by android-build-merger
Browse files

Merge "Add CarrierConfig to displaying HD audio indicator for GSM/CDMA calls"

am: 0be23629

Change-Id: I122612a24a1908700bceb790f2309aebb15bed09
parents 67a2db0a 0be23629
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -1374,6 +1374,14 @@ public class CarrierConfigManager {
     */
    public static final String KEY_VIDEO_CALLS_CAN_BE_HD_AUDIO = "video_calls_can_be_hd_audio";

    /**
     * When true, indicates that the HD audio icon in the in-call screen should be shown for
     * GSM/CDMA calls.
     * @hide
     */
    public static final String KEY_GSM_CDMA_CALLS_CAN_BE_HD_AUDIO =
            "gsm_cdma_calls_can_be_hd_audio";

    /**
     * Whether system apps are allowed to use fallback if carrier video call is not available.
     * Defaults to {@code true}.
@@ -2009,6 +2017,7 @@ public class CarrierConfigManager {
        sDefaults.putBoolean(KEY_ALLOW_ADD_CALL_DURING_VIDEO_CALL_BOOL, true);
        sDefaults.putBoolean(KEY_WIFI_CALLS_CAN_BE_HD_AUDIO, true);
        sDefaults.putBoolean(KEY_VIDEO_CALLS_CAN_BE_HD_AUDIO, true);
        sDefaults.putBoolean(KEY_GSM_CDMA_CALLS_CAN_BE_HD_AUDIO, false);
        sDefaults.putBoolean(KEY_ALLOW_VIDEO_CALLING_FALLBACK_BOOL, true);

        sDefaults.putStringArray(KEY_IMS_REASONINFO_MAPPING_STRING_ARRAY, null);