Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 481d1e87 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Move setProcessGroup outside oom adjustment

To reduce the time spent in applyOomAdjLocked. In the case that
when updating oom adjustment and apps call APIs which need to
acquire AMS lock, the duration of lock contention could be less.

Also remove the unnecessary clearCallingIdentity (commit 9438de20)
because the execution won't be on binder thread. Actually the
implementation of setProcessGroup doesn't look like there are any
binder related checks.

Bug: 123043091
Bug: 130295084
Test: AppLaunchTest

Change-Id: I4b593b4eeb647ce93182a9b776a664ed4414ce1d
parent 29615239
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment