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

Commit 74fb4bd3 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "floss: Don't search for PBAP Client in DM discovery"

parents 3d34b8cf 17f60df7
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1877,12 +1877,14 @@ static void bta_dm_find_services(const RawAddress& bd_addr) {
        bta_dm_search_cb.service_index = BTA_MAX_SERVICE_ID;

      } else {
#ifndef TARGET_FLOSS
        if (uuid == Uuid::From16Bit(UUID_PROTOCOL_L2CAP)) {
          if (!is_sdp_pbap_pce_disabled(bd_addr)) {
            LOG_DEBUG("SDP search for PBAP Client ");
            BTA_SdpSearch(bd_addr, Uuid::From16Bit(UUID_SERVCLASS_PBAP_PCE));
          }
        }
#endif
        bta_dm_search_cb.service_index++;
        return;
      }