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

Commit 247336a2 authored by Myles Watson's avatar Myles Watson Committed by Automerger Merge Worker
Browse files

Merge "RootCanal: Allow empty scan responses" am: b96cc420 am: 01a7177f...

Merge "RootCanal: Allow empty scan responses" am: b96cc420 am: 01a7177f am: c066624b am: 8a13ef86

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

Change-Id: I465998b421a7eb7cf76aa7a186b719520931c141
parents 9e55ac77 8a13ef86
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -125,7 +125,7 @@ LeAdvertiser::GetAdvertisement(std::chrono::steady_clock::time_point now) {
std::unique_ptr<model::packets::LeScanResponseBuilder>
LeAdvertiser::GetScanResponse(bluetooth::hci::Address scanned,
                              bluetooth::hci::Address scanner) {
  if (scanned != address_.GetAddress() || !enabled_ || scan_response_.empty()) {
  if (scanned != address_.GetAddress() || !enabled_) {
    return nullptr;
  }
  switch (filter_policy_) {