summaryrefslogtreecommitdiff
path: root/libs/androidfw/ConfigDescription.cpp
diff options
context:
space:
mode:
author Sudheer Shanka <sudheersai@google.com> 2022-12-27 03:38:08 +0000
committer Sudheer Shanka <sudheersai@google.com> 2022-12-27 12:04:33 -0800
commit13b8910d23e5d43c8097f369e89bdb4f318f2fdb (patch)
treefee259fc54ac29e2d1d1aa5fba58def60c321dc1 /libs/androidfw/ConfigDescription.cpp
parent09183fb1684d1afdcbfb14c9775f39fd4feda888 (diff)
Preserve enqueue time of replaced broadcast records.
When a broadcast is sent with FLAG_RECEIVER_REPLACE_PENDING, we perform in-place swap with older broadcasts but we don't update the enqueue times and this could result in other processes getting prioritized even though they have broadcasts that have been enqueued at a later time. Bug: 263803500 Test: atest services/tests/mockingservicestests/src/com/android/server/am/BroadcastQueueTest.java Test: atest services/tests/mockingservicestests/src/com/android/server/am/BroadcastQueueModernImplTest.java Change-Id: Ie4524a6b05d66be0725650be888f45d2903e1daa
Diffstat (limited to 'libs/androidfw/ConfigDescription.cpp')
0 files changed, 0 insertions, 0 deletions