Merge "A2DP: Check AAC bitrate mode by its CodecSpecific1" am: bdc57bef81 am: bb606cfc11
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1207444 Change-Id: I0e6cab7597bbdf12292feb7c5b8a03bcd05df7f8
This commit is contained in:
@@ -614,8 +614,9 @@ public final class BluetoothCodecConfig implements Parcelable {
|
|||||||
if (other == null && mCodecType != other.mCodecType) {
|
if (other == null && mCodecType != other.mCodecType) {
|
||||||
return false;
|
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) {
|
switch (mCodecType) {
|
||||||
|
case SOURCE_CODEC_TYPE_AAC:
|
||||||
case SOURCE_CODEC_TYPE_LDAC:
|
case SOURCE_CODEC_TYPE_LDAC:
|
||||||
if (mCodecSpecific1 != other.mCodecSpecific1) {
|
if (mCodecSpecific1 != other.mCodecSpecific1) {
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user