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

Commit 52eee2df authored by Ying Hsu's avatar Ying Hsu Committed by Gerrit Code Review
Browse files

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

parents 9237cb85 a89b2029
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1885,14 +1885,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;
      }