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

Commit 3b92e91d authored by Chris Manton's avatar Chris Manton Committed by Automerger Merge Worker
Browse files

shim::Acl should only run if gd::Core disabled am: 2dfa1634

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

Change-Id: Id8a67631ec49c06ba3a6d15ed1a66fb678b69d84
parents 697d6dd9 2dfa1634
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();