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

Commit 850eb90b authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "A2DP: Check AAC bitrate mode by its CodecSpecific1" am: bdc57bef am:...

Merge "A2DP: Check AAC bitrate mode by its CodecSpecific1" am: bdc57bef am: bb606cfc am: adeef017 am: 4d88d359

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1207444

Change-Id: I8c16301dc90bef0487e5c3dbe65381f63e063a24
parents e273403d 4d88d359
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -614,8 +614,9 @@ public final class BluetoothCodecConfig implements Parcelable {
        if (other == null && mCodecType != other.mCodecType) {
            return false;
        }
        // Currently we only care about the LDAC Playback Quality at CodecSpecific1
        // Currently we only care about the AAC VBR and LDAC Playback Quality at CodecSpecific1
        switch (mCodecType) {
            case SOURCE_CODEC_TYPE_AAC:
            case SOURCE_CODEC_TYPE_LDAC:
                if (mCodecSpecific1 != other.mCodecSpecific1) {
                    return false;