Merge "A2DP: Check AAC bitrate mode by its CodecSpecific1"

This commit is contained in:
Treehugger Robot
2020-06-22 17:22:54 +00:00
committed by Gerrit Code Review

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;