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

Commit a89b2029 authored by Hsin-chen Chuang's avatar Hsin-chen Chuang Committed by Gerrit Code Review
Browse files

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

This reverts commit 17f60df7.

Reason for revert: The root cause has been addressed by aosp/2606682

Change-Id: I92477ef6061cf15c8d8428fb31621dec0f857bc5
parent 17f60df7
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1877,14 +1877,12 @@ 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;
      }