summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Lee Shombert <shombert@google.com> 2024-07-09 10:22:13 -0700
committer Lee Shombert <shombert@google.com> 2024-07-10 14:29:33 -0700
commit57d4dd811437d54cc0e124dd1ebfc1f8685ffcee (patch)
treed3cfce928e58fe2ac4126811c4c97298659a9a22 /libs/androidfw/StringPool.cpp
parent5119d5522767cdd012843bdce6ea2286ffe685b1 (diff)
Do not deliver notifications to frozen processes
If a paused process is sent a notification, the notification is not delivered but is saved until the process is unpaused. If there is already a pending instance of the same notification for the process, the earlier one is deleted. If a notfication is sent to a process that is not paused, the notification is delivered immediately. Pending notifications are delivered when the proces is unpaused. They are delivered in the order in which they were posted. The notifications that are affected by this change are: * IApplicationThread.clearDnsCache * IApplicationThread.updateTimeZone * IApplicationThread.scheduleLowMemory * IApplicationThread.updateHttpProxy Test: atest * FrameworksServicesTests:com.android.server.am * FrameworksMockingServicesTests:com.android.server.am Flag: com.android.server.am.defer_binders_when_paused Bug: 327038797 Change-Id: I17bc1551dfd14684848c2c6573bc736340a858c1
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions