OSDN Git Service
(root)
/
android-x86
/
system-bt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7120bf9
)
shim::Acl should only run if gd::Core disabled
author
Chris Manton
<cmanton@google.com>
Thu, 3 Sep 2020 02:56:22 +0000
(19:56 -0700)
committer
Chris Manton
<cmanton@google.com>
Thu, 3 Sep 2020 02:57:46 +0000
(19:57 -0700)
Bug:
166280067
Test: compile
Tag: #refactor
Change-Id: I6f79df1b7126d5237d9b2c9bcac3c3a65aaff19c
main/shim/stack.cc
patch
|
blob
|
history
diff --git
a/main/shim/stack.cc
b/main/shim/stack.cc
index
a3fbff5
..
a39ee25
100644
(file)
--- a/
main/shim/stack.cc
+++ b/
main/shim/stack.cc
@@
-106,7
+106,9
@@
void Stack::StartEverything() {
stack_manager_.GetInstance<neighbor::InquiryModule>());
}
if (common::InitFlags::GdAclEnabled()) {
- acl_ = new legacy::Acl(stack_handler_);
+ if (!common::InitFlags::GdCoreEnabled()) {
+ acl_ = new legacy::Acl(stack_handler_);
+ }
}
is_running_ = true;
if (!common::InitFlags::GdCoreEnabled()) {