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

Commit 6fd7feae authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "stack::sdp [10/12] handle.SDP_AddProfileDescriptorList" into main

parents 065432aa f8ac40de
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -348,8 +348,11 @@ void bta_ar_reg_avrc_for_src_sink_coexist(
        } else {
          bta_ar_cb.ct_ver = profile_version;
        }
        get_legacy_stack_sdp_api()->handle.SDP_AddProfileDescriptorList(
            bta_ar_cb.sdp_ct_handle, service_uuid, profile_version);
        if (!get_legacy_stack_sdp_api()->handle.SDP_AddProfileDescriptorList(
                bta_ar_cb.sdp_ct_handle, service_uuid, profile_version)) {
          log::warn("Unable to add SDP profile descriptor version handle:{}",
                    bta_ar_cb.sdp_ct_handle);
        }
      }
      /* multiple CT are allowed.
       * Change supported categories on the second one */
+4 −2
Original line number Diff line number Diff line
@@ -96,8 +96,10 @@ uint32_t pan_register_with_sdp(uint16_t uuid, const char* p_name,
      LANGUAGE_BASE_ID);

  /* Profile descriptor list */
  get_legacy_stack_sdp_api()->handle.SDP_AddProfileDescriptorList(
      sdp_handle, uuid, PAN_PROFILE_VERSION);
  if (!get_legacy_stack_sdp_api()->handle.SDP_AddProfileDescriptorList(
          sdp_handle, uuid, PAN_PROFILE_VERSION)) {
    log::warn("Unable to add SDP PAN profile version");
  }

  /* Service Name */
  get_legacy_stack_sdp_api()->handle.SDP_AddAttribute(