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

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

PlayItem should go out the control channel

According to the AVRCP specification, section 4.5, the PlayItem command
should go out the control channel and not the browse channel.

Tag: #stability
Bug: 184712907
Test: atest BluetoothInstrumentationTests
Change-Id: I2c64c8b2f4aa0ad3c0d0cd577969d27157b4af95
parent cce79b1b
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -4955,8 +4955,7 @@ static bt_status_t play_item_cmd(const RawAddress& bd_addr, uint8_t scope,
  memcpy(avrc_cmd.play_item.uid, uid, AVRC_UID_SIZE);
  avrc_cmd.play_item.uid_counter = uid_counter;

  return build_and_send_browsing_cmd(&avrc_cmd, p_dev);
  // return build_and_send_vendor_cmd(&avrc_cmd, AVRC_CMD_CTRL, p_dev);
  return build_and_send_vendor_cmd(&avrc_cmd, AVRC_CMD_CTRL, p_dev);
}

/***************************************************************************