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

Commit 4d88d359 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

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

Change-Id: I6e91c9036b5a8d705eb0e0ecd4963fc45fb9b340
parents 8fc024ee adeef017
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;