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

Commit a43f215a 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...

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

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

Change-Id: Ie301ec15dc0db1e48159e1f588c2040dcda08e30
parents 24281c40 4fecc2d8
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));
  }