+29
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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