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

Commit 2f8e1af2 authored by Greg Kaiser's avatar Greg Kaiser Committed by android-build-merger
Browse files

gatt: Avoid using erased iterator am: 0942ee49

am: a626f999

Change-Id: Ic336a814bd442560c7d5c53b6e7adf70c2858598
parents b3917250 a626f999
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -111,7 +111,7 @@ bool DatabaseBuilder::StartNextServiceExploration() {
    services_to_discover.erase(handle_range);

    // Empty service declaration, nothing to explore, skip to next.
    if (handle_range->first == handle_range->second) continue;
    if (pending_service.first == pending_service.second) continue;

    pending_characteristic = HANDLE_MIN;
    return true;