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:
2a8c671
)
gd: Reset le address rotation timer
author
Chris Manton
<cmanton@google.com>
Tue, 3 Nov 2020 18:28:02 +0000
(10:28 -0800)
committer
Chris Manton
<cmanton@google.com>
Wed, 4 Nov 2020 18:30:05 +0000
(10:30 -0800)
Bug:
171568335
Test: CtsVerifier
Test: gd/cert/run --host
Test: atest --host bluetooth_test_gd
Tag: #refactor
Change-Id: I1e9e998fdb45642d4708abeb68c5f07f7704ff8a
gd/hci/le_address_manager.cc
patch
|
blob
|
history
diff --git
a/gd/hci/le_address_manager.cc
b/gd/hci/le_address_manager.cc
index
2a06b43
..
8e1c997
100644
(file)
--- a/
gd/hci/le_address_manager.cc
+++ b/
gd/hci/le_address_manager.cc
@@
-140,6
+140,7
@@
void LeAddressManager::unregister_client(LeAddressManagerCallback* callback) {
registered_clients_.erase(callback);
if (registered_clients_.empty() && address_rotation_alarm_ != nullptr) {
address_rotation_alarm_->Cancel();
+ address_rotation_alarm_.reset();
}
}