diff options
| author | 2022-11-16 11:09:46 -0700 | |
|---|---|---|
| committer | 2022-11-16 11:09:49 -0700 | |
| commit | f965a7a8328ed7dd1a66e335b579305d6d7d3ebb (patch) | |
| tree | 3839600532f56e0746a164620c61c1130cc36156 /libs/androidfw/StringPool.cpp | |
| parent | 81d66e9d7704274157176ca8ad8458474608c269 (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