summaryrefslogtreecommitdiff
path: root/libs/androidfw/ObbFile.cpp
diff options
context:
space:
mode:
author Jeff Sharkey <jsharkey@google.com> 2023-03-30 14:07:21 -0600
committer Jeff Sharkey <jsharkey@google.com> 2023-03-31 13:57:02 -0600
commit4b5ce4920c5a05241fcb458e96b42a6399f7e5bc (patch)
tree63b88b84cc8c7e7d24eb0d930b8e0b658abbf71c /libs/androidfw/ObbFile.cpp
parent646c4e0fe89b6ae54965b912c3b44fd740f7f32c (diff)
Use "frozen" state for broadcasts.
We originally had been using registerUidObserver() to observe changes to the "cached" state changes of apps, since that's all we had at the time. Since then, registerUidFrozenStateChangedCallback() has been added, so this change pivots to using that. Even though we internally have the ability to control per-process broadcast queues, both of these listeners only provide UID-level granularity, so we follow their lead. If the freezer team adds PID- level events in the future, we can easily adapt. Bug: 276243219, 275142200, 275594411 Test: atest FrameworksMockingServicesTests:BroadcastQueueTest Test: atest FrameworksMockingServicesTests:BroadcastQueueModernImplTest Test: atest FrameworksMockingServicesTests:BroadcastRecordTest Change-Id: Ia33cca1034fba9225f1fdbe97c216f077c4d9dba
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions