Skip enqueueing receivers that are going to be skipped by policy.
The current logic assumes that only receivers in apps that are not already running will be skipped but this is not the case. Since we are going to skip the broadcast anyway, don't enqueue it in the broadcast process queue. Bug: 277815320 Test: atest FrameworksMockingServicesTests:BroadcastQueueTest Test: atest FrameworksMockingServicesTests:BroadcastQueueModernImplTest Change-Id: I27cb4a0959c20e2dbc656f9650dea4d0643bcba5
Loading
Please register or sign in to comment