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

Commit 58255bf0 authored by Jack He's avatar Jack He Committed by Automerger Merge Worker
Browse files

Merge "Fix EIR UUID cache crash" into tm-d1-dev am: 983a5437 am: 51ac59bb am: 9c0f2ed8

parents 821b3989 9c0f2ed8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1475,6 +1475,7 @@ static void btif_dm_search_services_evt(tBTA_DM_SEARCH_EVT event,
              property_value.insert(property_value.end(), uuid_128bit.begin(),
                                    uuid_128bit.end());
            }
            eir_uuids_cache.erase(uuids_iter);
          }
          if (num_eir_uuids > 0) {
            prop.val = (void*)property_value.data();
@@ -1484,7 +1485,6 @@ static void btif_dm_search_services_evt(tBTA_DM_SEARCH_EVT event,
            prop.val = &uuid;
            prop.len = Uuid::kNumBytes128;
          }
          eir_uuids_cache.erase(uuids_iter);
        }
        // Both SDP and bonding are done, clear pairing control block in case
        // it is not already cleared