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

Commit 649bb47e authored by Chienyuan's avatar Chienyuan Committed by Automerger Merge Worker
Browse files

gd: Start vendor specific event manager when acl enable am: dc1b005c

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

Change-Id: I3163a83938ee35bc8c8364a44bea4716c0e4abd0
parents b36fdd37 dc1b005c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -27,6 +27,7 @@
#include "gd/hci/hci_layer.h"
#include "gd/hci/le_advertising_manager.h"
#include "gd/hci/le_scanning_manager.h"
#include "gd/hci/vendor_specific_event_manager.h"
#include "gd/l2cap/classic/l2cap_classic_module.h"
#include "gd/l2cap/le/l2cap_le_module.h"
#include "gd/neighbor/connectability.h"
@@ -103,6 +104,7 @@ void Stack::StartEverything() {
    modules.add<hci::Controller>();
  }
  if (common::init_flags::gd_acl_is_enabled()) {
    modules.add<hci::VendorSpecificEventManager>();
    modules.add<hci::AclManager>();
  }
  if (common::init_flags::gd_l2cap_is_enabled()) {