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

Commit 2661e0e3 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:...

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

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

Change-Id: I0376e40bcc06580ae8e92e97a40cacb989ccfee6
parents fac24443 8f782da8
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();