summaryrefslogtreecommitdiff
path: root/libs/androidfw/misc.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2021-12-17 09:36:42 +0800
committer Riddle Hsu <riddlehsu@google.com> 2021-12-21 14:30:00 +0800
commit2bd413125ea86424f7901a18f82b9f8199adcc05 (patch)
treeaaa8b2f52c930c0e779fb1df3f6ff1fd18f554ea /libs/androidfw/misc.cpp
parenta201cdea9cff900fa23c75809b0d46f1e9cd1eab (diff)
Remove getProcessGroup usage in OomAdjuster
The returned value may not be the same as it was set. The invocation was used to verify whether the schedule group is set by zygote. Since most of time it is success and it is no harm to ignore the result because the latest state can still be updated from oom-adj computation, the check of getProcessGroup can be simply removed. Bug: 211000005 Test: Record a trace during cold launching a top activity. The main thread priority should be 100 after attachApplication. And "adb shell cat /proc/$pid/task/$pid/cgroup" is top-app. Change-Id: I282e124d8dc603efdef9b845e8ee6bb61585a6df Merged-In: I282e124d8dc603efdef9b845e8ee6bb61585a6df
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions