Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f965a7a8 authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

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
parent 81d66e9d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment