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

Commit e55e480b 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

Change-Id: I184d08bc693a560a1237ee0ac8ecbe4b395362b5
parents df265112 ff715222
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)) {