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

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

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

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

Change-Id: Ia4691b2a52e9536477d119ebed517a7d97b26249
parents 24242a35 5be7692a
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();