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

Commit 5e62ae0a authored by Rajeev Kumar's avatar Rajeev Kumar Committed by Automerger Merge Worker
Browse files

Merge "GD: use extened advertising when controller supported" am: 9639bbea...

Merge "GD: use extened advertising when controller supported" am: 9639bbea am: 0a17361b am: 6c8c86d7

Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/2079743



Change-Id: I3f5daf64b5148c3de69603ac9abb82698c0ca3ae
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 9abaa269 6c8c86d7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -118,7 +118,7 @@ struct LeAdvertisingManager::impl : public bluetooth::hci::LeAddressManagerCallb
      enabled_sets_[i].advertising_handle_ = kInvalidHandle;
    }

    if (controller_->IsSupported(hci::OpCode::LE_SET_EXTENDED_ADVERTISING_PARAMETERS)) {
    if (controller_->SupportsBleExtendedAdvertising()) {
      advertising_api_type_ = AdvertisingApiType::EXTENDED;
    } else if (controller_->IsSupported(hci::OpCode::LE_MULTI_ADVT)) {
      advertising_api_type_ = AdvertisingApiType::ANDROID_HCI;