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

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

Change-Id: I8c16301dc90bef0487e5c3dbe65381f63e063a24
This commit is contained in:
Treehugger Robot
2020-06-22 18:29:01 +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;