summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Suprabh Shukla <suprabh@google.com> 2024-03-20 00:45:57 -0700
committer Suprabh Shukla <suprabh@google.com> 2024-03-20 16:50:27 -0700
commit28afbd2a2183162a38d261c79abdfb50be65e896 (patch)
treebac441467c4315cda970b33189ede5086bbc6724 /libs/androidfw/StringPool.cpp
parente4fa10bab1c79065578e063c9cc3a03c7a0d05ec (diff)
Always process state changes below TOP_THRESHOLD
Sometimes, we deliberately send a process-state TOP change before the normal oom adjuster update gets triggered for resuming activities. In this case, there may be a duplicate notification for the same process-state change with a newer procStateSeq. We need to ensure we always process these notifications and notify activity manager on completion. These are redundant notifications but should be rare and cheap enough to always process - even if they do not end up changing any of the firewall state. Also modifying the log in ActivityManager to report a wtf whenever the wait timeouts to help emphasize this discrepancy. Test: atest FrameworksServicesTests:NetworkPolicyManagerServiceTest Fixes: 327303931 Change-Id: I4884072bd6d7820acee67851d7504886564e2348
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions