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

Commit 3604139e authored by Rahul Sabnis's avatar Rahul Sabnis Committed by Gerrit Code Review
Browse files

Merge "ScanningManager: Always set own_address_type"

parents c522d11d 0fda5595
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -540,6 +540,8 @@ struct LeScanningManager::impl : public bluetooth::hci::LeAddressManagerCallback

    if (le_address_manager_->GetAddressPolicy() != LeAddressManager::USE_PUBLIC_ADDRESS) {
      own_address_type_ = OwnAddressType::RANDOM_DEVICE_ADDRESS;
    } else {
      own_address_type_ = OwnAddressType::PUBLIC_DEVICE_ADDRESS;
    }

    switch (api_type_) {