summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetsProvider.cpp
diff options
context:
space:
mode:
author Jeff Sharkey <jsharkey@android.com> 2022-10-19 12:16:40 -0600
committer Jeff Sharkey <jsharkey@android.com> 2022-10-24 14:53:19 -0600
commit2d4f558d57cf343e059c8174ba6482558bcab493 (patch)
treed9102d0847b96baee240dc8e7236b8044edb56b4 /libs/androidfw/AssetsProvider.cpp
parentd3d6760a967545c1f71c6202da4701f1e8b20c75 (diff)
Deliver handful of system broadcasts as unordered.
Several existing broadcasts are being sent as ordered simply to receive a "resultTo" signal when dispatch is finished. This was reasonable in the legacy stack, since only one receiver was dispatched at a time, but the modern stack can dispatch to multiple receivers in parallel. This change updates BOOT, SCREEN, and PACKAGE broadcasts to pivot to this new approach when the modern queue is enabled; we retain the previous ordered behavior when the legacy queue is being used. Bug: 253226131 Test: atest FrameworksMockingServicesTests:BroadcastRecordTest Test: atest FrameworksMockingServicesTests:BroadcastQueueTest Test: atest FrameworksMockingServicesTests:BroadcastQueueModernImplTest Change-Id: I81299b9ec6f509f5b73dfe9484aca12794eb3868
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions