summaryrefslogtreecommitdiff
path: root/libs/battery/MultiStateCounterTest.cpp
diff options
context:
space:
mode:
author Devin Moore <devinmoore@google.com> 2024-11-19 19:13:40 +0000
committer Devin Moore <devinmoore@google.com> 2025-01-03 21:37:10 +0000
commit4449d4e569651281025d7df45f971abc49dea396 (patch)
tree5b4cf17e2aa2d6060855d6f820b54ef10a1f2a06 /libs/battery/MultiStateCounterTest.cpp
parenta3867c739a80d0c8a58dcb00bcae8f98afdc78ef (diff)
Change callback handling from Arc to Box
There is only ever one ref count for this callback object, and it's always completely dropped when the Accessor or AccessorProvider objects are dropped, so Box is a better type. Test: atest rustBinderTest # has the *callback_destruction tests Bug: 358427181 Change-Id: Ifc4b17a589b27f232c20c7e8a82d2b23a717fda8
Diffstat (limited to 'libs/battery/MultiStateCounterTest.cpp')
0 files changed, 0 insertions, 0 deletions