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

Commit bf75ec2a authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "AVRCP: pass bdaddr by value when use SdpCb" into pi-dev

parents 4730839c 0ab5456b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -392,7 +392,7 @@ void ConnectionHandler::MessageCb(uint8_t handle, uint8_t label, uint8_t opcode,
  device_map_[handle]->MessageReceived(label, Packet::Parse(pkt));
}

void ConnectionHandler::SdpCb(const RawAddress& bdaddr, SdpCallback cb,
void ConnectionHandler::SdpCb(RawAddress bdaddr, SdpCallback cb,
                              tSDP_DISCOVERY_DB* disc_db, uint16_t status) {
  LOG(INFO) << __PRETTY_FUNCTION__ << ": SDP lookup callback received";

+1 −1
Original line number Diff line number Diff line
@@ -136,7 +136,7 @@ class ConnectionHandler {
  using SdpCallback = base::Callback<void(uint16_t status, uint16_t version,
                                          uint16_t features)>;
  virtual bool SdpLookup(const RawAddress& bdaddr, SdpCallback cb);
  void SdpCb(const RawAddress& bdaddr, SdpCallback cb,
  void SdpCb(RawAddress bdaddr, SdpCallback cb,
             tSDP_DISCOVERY_DB* disc_db, uint16_t status);

  virtual bool AvrcpConnect(bool initiator, const RawAddress& bdaddr);