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

Commit 5be7692a authored by Qasim Javed's avatar Qasim Javed Committed by Gerrit Code Review
Browse files

Merge "rusty-gd: Do not invoke VendorSpecificEventManager."

parents 2b36755f 0dcfd2c8
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();