Merge "A2DP: Check AAC bitrate mode by its CodecSpecific1" am: bdc57bef81 am: bb606cfc11 am: adeef01787

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

Change-Id: I6e91c9036b5a8d705eb0e0ecd4963fc45fb9b340
This commit is contained in:
Treehugger Robot
2020-06-22 18:15:07 +00:00
committed by Automerger Merge Worker

View File

@@ -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;