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

Commit 309e3068 authored by Sal Savage's avatar Sal Savage Committed by Automerger Merge Worker
Browse files

Merge "Configure newavrcp target to be "passive" when setting up AVCTP" into sc-dev am: 01e1de54

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/bt/+/15145147

Change-Id: I9b1f946651296a70e84cd52c8fa7704ffbc0e097
parents 1a0528ee 01e1de54
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -211,7 +211,8 @@ bool ConnectionHandler::AvrcpConnect(bool initiator, const RawAddress& bdaddr) {
                           : AVRC_CONN_ACP;  // 0 if initiator, 1 if acceptor
  // TODO (apanicke): We shouldn't need RCCT to do absolute volume. The current
  // AVRC_API requires it though.
  open_cb.control = BTA_AV_FEAT_RCTG | BTA_AV_FEAT_RCCT | BTA_AV_FEAT_METADATA;
  open_cb.control = BTA_AV_FEAT_RCTG | BTA_AV_FEAT_RCCT | BTA_AV_FEAT_METADATA
                    | AVRC_CT_PASSIVE;

  uint8_t handle = 0;
  uint16_t status = avrc_->Open(&handle, &open_cb, bdaddr);