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

Commit fc3e115f authored by Sal Savage's avatar Sal Savage
Browse files

Declare support for Cover Art in our AVRCP Controller SDP record

This change reverts part of a previous commit that removed cover art
support indication from our SDP record.

Some devices can ignore our cover art requests if we don't claim
support.

Tag: #stability
Bug: 323209738
Flag: EXEMPT, no logical update, only reverts a configuration change
Test: m com.android.btservices
Test: manual build an AVRCP Controller device (AAOS Car), connect with
an AVRCP Target device and check the SDP record we send in wireshark. It
should declare support for Cover Art features.

Change-Id: Ifbc8fc05ecaac1228ccc59545ddbec36e2c0ee82
parent a0541c03
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
@@ -44,7 +44,6 @@ const uint32_t bta_av_meta_caps_co_ids[] = {AVRC_CO_METADATA, AVRC_CO_BROADCOM};
#define BTA_AVK_RC_SUPF_CT                   \
  (AVRC_SUPF_CT_CAT1 | AVRC_SUPF_CT_BROWSE | \
   AVRC_SUPF_CT_COVER_ART_GET_IMAGE_PROP | AVRC_SUPF_CT_COVER_ART_GET_IMAGE)
#define BTA_AVK_RC_SUPF_CT_V15 (AVRC_SUPF_CT_CAT1 | AVRC_SUPF_CT_BROWSE)

#define BTA_AVK_RC_SUPF_TG (AVRC_SUPF_TG_CAT2)

@@ -141,7 +140,7 @@ extern const tBTA_AV_CFG bta_av_cfg = {
const tBTA_AV_CFG* get_bta_avk_cfg() {
  static const tBTA_AV_CFG bta_avk_cfg = {
      AVRC_CO_METADATA,   /* AVRCP Company ID */
      BTA_AVK_RC_SUPF_CT_V15, /* AVRCP controller categories */
      BTA_AVK_RC_SUPF_CT, /* AVRCP controller categories */
      BTA_AVK_RC_SUPF_TG, /* AVRCP target categories */
      6,                  /* AVDTP audio channel max data queue size */
      false, /* true, to accept AVRC 1.3 group nevigation command */