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

Commit c4d9cde6 authored by Automerger Merge Worker's avatar Automerger Merge Worker Committed by Android (Google) Code Review
Browse files

Merge "Merge "Replacing BluetoothCodecStatus creator by Builder" am:...

Merge "Merge "Replacing BluetoothCodecStatus creator by Builder" am: 471a9165 am: bfbeff05 am: 76678041 am: f54c0371"
parents ffeeb995 a71fb395
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -6952,7 +6952,8 @@ public class AudioManager {
        for (Integer format : formatsList) {
            int btSourceCodec = AudioSystem.audioFormatToBluetoothSourceCodec(format);
            if (btSourceCodec != BluetoothCodecConfig.SOURCE_CODEC_TYPE_INVALID) {
                codecConfigList.add(new BluetoothCodecConfig(btSourceCodec));
                codecConfigList.add(
                        new BluetoothCodecConfig.Builder().setCodecType(btSourceCodec).build());
            }
        }
        return codecConfigList;