summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Jeff Sharkey <jsharkey@android.com> 2022-11-16 11:09:46 -0700
committer Jeff Sharkey <jsharkey@android.com> 2022-11-16 11:09:49 -0700
commitf965a7a8328ed7dd1a66e335b579305d6d7d3ebb (patch)
tree3839600532f56e0746a164620c61c1130cc36156 /libs/androidfw/StringPool.cpp
parent81d66e9d7704274157176ca8ad8458474608c269 (diff)
BroadcastQueue: fix subtle barrier bug.
We can't immediately shortcut when mActive is past the barrier, since there may still be pre-barrier broadcasts waiting in the other queues. (This shortcut was only a valid optimization when we pulled mActive from the single consistently-ordered mPending queue.) Bug: 253906105 Test: atest FrameworksMockingServicesTests:BroadcastRecordTest Test: atest FrameworksMockingServicesTests:BroadcastQueueTest Test: atest FrameworksMockingServicesTests:BroadcastQueueModernImplTest Change-Id: I6b5d37e1784a335b2992ac319d2d90c6f449c1b9
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions