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

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

BroadcastQueue: max pending, misc fixes.

To avoid paused or delayed queues from getting backed up too far,
add a "MAX_PENDING_BROADCASTS" release valve.

Ignore ANR timeouts while the system is booting.

Ignore broadcast state changes once it's already reached a terminal
state to handle racing timeout messages.

Fix isEmpty() bug where caller wanted to check for empty-and-idle.

Bug: 245771249
Test: atest FrameworksMockingServicesTests:BroadcastQueueTest
Change-Id: If5a5898bbfc0005e1c33a31aaaf05c8eab7f90fb
parent 5f31d431
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment