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

Commit f8701f21 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 am: 3b92e91d

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

Change-Id: If33b170cbd59b9ef8b7378088249599f4565f8ff
parents fb5eb170 3b92e91d
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();