summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2021-11-03 20:27:50 -0600
committerRiddle Hsu <riddlehsu@google.com>2021-11-03 20:52:58 +0800
commit6a99e776867fa567a67416950fcd0b99e255e13f (patch)
treec235d8f9769626e9afe0fdd380ce597c358dccff /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parentcc110e6aeaef998b0a09b295eb247ad0a5b99896 (diff)
Set pending top and update process state for top resumed change
When switching focus between resumed activities, there is no activity state change to trigger update process state. So if it is the case that misses to update, add as pending top to ensure the current top have higher oom-adj, and trigger a full oom-adj update to refresh process states because layer rank of tasks are also changed. Fixes: 204980211 Test: ActivityTaskSupervisorTests#testUpdatePendingTopForTopResumed Test: Enter split with 2 apps, use command adb shell dumpsys activity oom | grep -A2 A/TOP to observe the value of oom-adj after switching focus. Change-Id: I411a3980ea23d875dd8d9ce7af80de74957f1caa
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions