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

Skip to content
Commit 2ea85377 authored by Sudheer Shanka's avatar Sudheer Shanka
Browse files

Skip beyond receivers in a process once it's cached.

When a process is cached, broadcasts to the process could be
delayed but we do not want to block delivery to other receivers
that are in a lower priority tranche than the deferred receivers.
We already take care of this, but only if all receivers in a
process are deferred until active. Since it's possible we defer
delivery by a few minutes (not defer until active) to cached
processes, we should skip beyond receivers in the cached process.

Bug: 298300047
Bug: 305877431
Test: atest services/tests/mockingservicestests/src/com/android/server/am/BroadcastQueueTest.java
Test: atest services/tests/mockingservicestests/src/com/android/server/am/BroadcastQueueModernImplTest.java
Test: atest CtsBroadcastTestCases
Change-Id: Iaf310716433824d2136b8385f7642ffdd49431eb
Merged-In: Iaf310716433824d2136b8385f7642ffdd49431eb
parent f6b0c5d0
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