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

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

BroadcastQueue: active counters, usage reporting.

Other parts of the OS (such as OOM adjust calculations) rely on the
number of active broadcasts maintained in ProcessReceiverRecord, so
this change adds them to the new stack.  The new stack doesn't need
to do membership tests, so it migrates towards a faster reference
count approach.  Tests to confirm behavior of both stacks.

Dispatch usage events expected by PackageManager and UsageStats and
skip broadcasts to apps in full backup to match previous behavior.

Bug: 245771249
Test: atest FrameworksMockingServicesTests:BroadcastQueueTest
Change-Id: Ia3faf26d01ec9d662d2377a0b47b28914cfe8e03
parent 05ec4717
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