diff options
| author | Treehugger Robot <treehugger-gerrit@google.com> | 2020-06-22 17:22:54 +0000 |
|---|---|---|
| committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2020-06-22 17:22:54 +0000 |
| commit | bdc57bef813d07a837202bae3040c98dd64506a0 (patch) | |
| tree | c560e78f97098ebdd193e20b9c165ba9d7abeba1 /core/java/android/bluetooth/BluetoothCodecConfig.java | |
| parent | e9b37e0726c80da33f42585dfc452fd956383f72 (diff) | |
| parent | fe5e2dd8cd2db9cc587eb7450ae02a9abe41716b (diff) | |
Merge "A2DP: Check AAC bitrate mode by its CodecSpecific1"
Diffstat (limited to 'core/java/android/bluetooth/BluetoothCodecConfig.java')
| -rw-r--r-- | core/java/android/bluetooth/BluetoothCodecConfig.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/java/android/bluetooth/BluetoothCodecConfig.java b/core/java/android/bluetooth/BluetoothCodecConfig.java index d2a15357aa1f..e07bc0215a6b 100644 --- a/core/java/android/bluetooth/BluetoothCodecConfig.java +++ b/core/java/android/bluetooth/BluetoothCodecConfig.java @@ -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; |
