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

Commit 172fc64a authored by slki.shin's avatar slki.shin Committed by android-build-merger
Browse files

Merge "Skip SDP search with an empty service class id" am: ff715222

am: e55e480b

Change-Id: Id0842186362643fe88b0882bbaec5fccd828af8c
parents 57732c95 e55e480b
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -1357,8 +1357,10 @@ void bta_dm_sdp_result(tBTA_DM_MSG* p_data) {
    do {
      p_sdp_rec = NULL;
      if (bta_dm_search_cb.service_index == (BTA_USER_SERVICE_ID + 1)) {
        if (!bta_dm_search_cb.uuid.IsEmpty()) {
          p_sdp_rec = SDP_FindServiceUUIDInDb(bta_dm_search_cb.p_sdp_db,
                                              bta_dm_search_cb.uuid, p_sdp_rec);
        }

        if (p_sdp_rec && SDP_FindProtocolListElemInRec(
                             p_sdp_rec, UUID_PROTOCOL_RFCOMM, &pe)) {