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

Commit 4fecc2d8 authored by Chris Manton's avatar Chris Manton Committed by Automerger Merge Worker
Browse files

Take EventCode::DISCONNECTION_COMPLETE if acl shim is enabled am: ab4ee994 am: 51877453

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

Change-Id: I44aa66c4c9f5b10c10386e5d5962da10ad85ce89
parents b605e561 51877453
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -396,7 +396,7 @@ void HciLayer::Start() {
  RegisterEventHandler(EventCode::COMMAND_COMPLETE, handler->BindOn(impl_, &impl::on_command_complete));
  RegisterEventHandler(EventCode::COMMAND_STATUS, handler->BindOn(impl_, &impl::on_command_status));
  RegisterLeMetaEventHandler(handler->BindOn(impl_, &impl::on_le_meta_event));
  if (bluetooth::common::InitFlags::GdCoreEnabled()) {
  if (bluetooth::common::InitFlags::GdAclEnabled()) {
    RegisterEventHandler(
        EventCode::DISCONNECTION_COMPLETE, handler->BindOn(this, &HciLayer::on_disconnection_complete));
  }