Merge "A2DP: Check AAC bitrate mode by its CodecSpecific1" am: bdc57bef81
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1207444 Change-Id: Ifc20ab03e30411a33230eb02a7650109d1c2c0e7
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user