Android 12.1.0 Release 7 (SQ3A.220605.009.A1)
libartpalette: do not follow process's group

1) App doesn't have cgroup access and there is no purpose of reading cgroup
for app. For system_server it should be known in foreground group. So
there is no benefit of reading group.

2) Reading cgroup in apps can also cause contention for other cgroup
operations.

3) vendor can change cgroup setting and get_sched_policy may return
incorrect information for get_sched_policy_profile_name.

Test: Boot
Bug: 210011562
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: Iee03dfe71a4040dfbf1263f0358946e3609a3694
1 file changed