Finish receiver synchronously when broadcast can be skipped.
With the delivery group policies applied to more broadcasts, there could be a lot of broadcasts in the SKIPPED state and finishing each of these asynchronously could increase the delivery latency which could be problematic for foreground broadcasts. Bug: 268639079 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: I3f052ba1c58be321a3d1376712b50b440c84c908 Change-Id: I5b3d848b9a5088b55f950ddc3065e6d85fac8d46
Loading
Please register or sign in to comment