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

Commit 21814205 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "gd: Fix bug of AdvertisingCache" am: 73838000

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1552061

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ieebe5f59c43128446ab1845979e6e4b331615ca5
parents c2930b6a 73838000
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -58,6 +58,7 @@ class AdvertisingCache {
    auto it = Find(address_with_type);
    if (it != items.end()) {
      it->data = std::move(data);
      return it->data;
    }

    if (items.size() > cache_max) {