summaryrefslogtreecommitdiff
path: root/libs/battery/LongArrayMultiStateCounterTest.cpp
diff options
context:
space:
mode:
author Steven Moreland <smoreland@google.com> 2021-08-06 15:38:59 -0700
committer Steven Moreland <smoreland@google.com> 2021-08-06 15:40:20 -0700
commitc6746a7cb87c4a146ad3e16fffcf3c44e5b59dcf (patch)
tree60e8e5743f04cc3d109f6d9c6620d5eb2b6bddf7 /libs/battery/LongArrayMultiStateCounterTest.cpp
parent5d4f84df73627101d47341429e00b04448755aff (diff)
SharedRefBase: detect double-ownership
If the internal SharedRefBase weak_ptr is promotable while it is being destroyed, this means that the SharedRefBase object is double-owned, and something else deleted it. Add an explicit log for this case. Fixes: 194905504 Test: libbinder_ndk_unit_test Change-Id: Ib6aa09ff8e659e52eebe96c14d127a6e7c186cff
Diffstat (limited to 'libs/battery/LongArrayMultiStateCounterTest.cpp')
0 files changed, 0 insertions, 0 deletions