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

Commit 65745ffc authored by Chris Manton's avatar Chris Manton Committed by Automerger Merge Worker
Browse files

Connect main::shim::acl to legacy dumpsys operation am: 5c03584d

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Id8fd80315788c4c368dfde392f86ec360d7e0c69
parents dcf0c688 5c03584d
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -523,9 +523,12 @@ bluetooth::shim::legacy::Acl::Acl(os::Handler* handler,
  GetAclManager()->RegisterLeCallbacks(this, handler_);
  GetController()->RegisterCompletedMonitorAclPacketsCallback(
      handler->BindOn(this, &Acl::on_incoming_acl_credits));
  bluetooth::shim::RegisterDumpsysFunction(static_cast<void*>(this),
                                           [this](int fd) { Dump(fd); });
}

bluetooth::shim::legacy::Acl::~Acl() {
  bluetooth::shim::UnregisterDumpsysFunction(static_cast<void*>(this));
  GetController()->UnregisterCompletedMonitorAclPacketsCallback();
}