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

Commit 8f782da8 authored by Qasim Javed's avatar Qasim Javed Committed by Automerger Merge Worker
Browse files

Merge "rusty-gd: Do not invoke VendorSpecificEventManager." am: 5be7692a am: df3fc6e5

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

Change-Id: I5e2c859001190474dc020c7617ec97ef3ff5d885
parents a1db406d df3fc6e5
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -864,10 +864,12 @@ void bluetooth::shim::hci_on_reset_complete() {
  }

  // TODO handle BQR event in GD
  if (!bluetooth::common::init_flags::gd_rust_is_enabled()) {
    auto handler = bluetooth::shim::GetGdShimHandler();
    bluetooth::shim::GetVendorSpecificEventManager()->RegisterEventHandler(
        bluetooth::hci::VseSubeventCode::BQR_EVENT,
        handler->Bind(cpp::vendor_specific_event_callback));
  }

  if (bluetooth::common::init_flags::gd_rust_is_enabled()) {
    ::rust::register_for_iso();