summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Sudheer Shanka <sudheersai@google.com> 2023-10-23 13:20:08 -0700
committer Sudheer Shanka <sudheersai@google.com> 2023-10-26 15:59:04 -0700
commit318bad3257f90518e870f10275eda55746234915 (patch)
tree81e197d8dcf3f869648beddb2808fb3cc3d9f2ab /libs/androidfw/FileStream.cpp
parente9b6f8494447fbf4e72d7321dda0a02c067d5d5b (diff)
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
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions