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

Commit 742515b1 authored by Android Build Merger (Role)'s avatar Android Build Merger (Role) Committed by Android (Google) Code Review
Browse files

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

Merge "Merge "Add CarrierConfig to displaying HD audio indicator for GSM/CDMA calls" am: 0be23629 am: c9cfb504 am: 114adea7"
parents 99812566 c84f5465
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -1380,6 +1380,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}.
@@ -2033,6 +2041,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);