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

Commit 88fa7dee authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Upstream - Avrcp connection failed" am: c8f3a7cf am: cd7c0217 am:...

Merge "Upstream - Avrcp connection failed" am: c8f3a7cf am: cd7c0217 am: 97c4a842 am: 6518723e am: e2d82c41

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

Change-Id: If4643907e06523978b9744c792121e7e512f44f3
parents b08a98a4 e2d82c41
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -141,6 +141,12 @@ uint16_t AVRC_FindService(uint16_t service_uuid, const RawAddress& bd_addr,
    /* perform service search */
    result =
        SDP_ServiceSearchAttributeRequest(bd_addr, p_db->p_db, avrc_sdp_cback);

    if (!result) {
      AVRC_TRACE_ERROR("%s: Failed to init SDP for peer %s", __func__,
                       bd_addr.ToString().c_str());
      avrc_sdp_cback(SDP_GENERIC_ERROR);
    }
  }

  return (result ? AVRC_SUCCESS : AVRC_FAIL);