Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1f780534 authored by Hsin-chen Chuang's avatar Hsin-chen Chuang
Browse files

a2dp_vendor_aptx_linux: Add functions that are accidentally removed

https://r.android.com/3158859 accidentally removed some functions from
a2dp_vendor_aptx_linux.cc but kept in a2dp_vendor_aptx.cc. This causes
Floss build breakage.

Bug: 352202669
Tag: #floss
Test: mmm packages/modules/Bluetooth
Test: USE=floss_upstream emerge-guybrush floss
Flag: EXEMPT, Floss-only changes
Change-Id: Ic629286042d85a82af77acb362827d5faed8e4f5
parent 46185607
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -22,6 +22,16 @@

bool A2DP_IsCodecValidAptx(const uint8_t* p_codec_info) { return false; }

bool A2DP_VendorUsesRtpHeaderAptx(bool content_protection_enabled, const uint8_t* p_codec_info) {
  return false;
}

const char* A2DP_VendorCodecNameAptx(const uint8_t* p_codec_info) { return "Aptx"; }

bool A2DP_VendorCodecTypeEqualsAptx(const uint8_t* p_codec_info_a, const uint8_t* p_codec_info_b) {
  return false;
}

bool A2DP_VendorCodecEqualsAptx(const uint8_t* p_codec_info_a, const uint8_t* p_codec_info_b) {
  return false;
}