summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Lee Shombert <shombert@google.com> 2024-07-31 16:17:58 -0700
committer Lee Shombert <shombert@google.com> 2024-08-03 01:54:43 +0000
commit716fa9b9361a7530ca3d39f5faddba806e1ac628 (patch)
treee5939cc250c9500a66d91a60ef0b8c6a61ceffd9 /libs/androidfw/StringPool.cpp
parenta23abe6b2593d25927e74be793f1b137c718228c (diff)
freezer: add internal per-process callbacks
Add per-process frozen/unfrozen callbacks in ActivityManagerInternal for use within system_server. The callbacks are registered on a per-process object; there is no way to unregister, so the callbacks exist for the lifetime of the process. Callbacks are executed when the frozen/unfrozen state changes. Note that if the callback is added with a HandlerExecutor, the callback will be delivered to the end client some time later, possibly in a different thread. Test: atest * FrameworksServicesTests:com.android.server.am * FrameworksMockingServicesTests:com.android.server.am Bug: 326315985 Flag: EXEMPT refactor Change-Id: I17e8f26633f70f6d54c742d58ba23f9a20fa3f64
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions