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

Commit 2dfa1634 authored by Chris Manton's avatar Chris Manton
Browse files

shim::Acl should only run if gd::Core disabled

Bug: 166280067
Test: compile
Tag: #refactor
Change-Id: I6f79df1b7126d5237d9b2c9bcac3c3a65aaff19c
parent 5f9ea0fa
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -106,8 +106,10 @@ void Stack::StartEverything() {
                   stack_manager_.GetInstance<neighbor::InquiryModule>());
  }
  if (common::InitFlags::GdAclEnabled()) {
    if (!common::InitFlags::GdCoreEnabled()) {
      acl_ = new legacy::Acl(stack_handler_);
    }
  }
  is_running_ = true;
  if (!common::InitFlags::GdCoreEnabled()) {
    bluetooth::shim::hci_on_reset_complete();