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

Skip to content
Commit e38dcaa3 authored by Rick Yiu's avatar Rick Yiu
Browse files

Keep the sched policy for a thread of low priority

If a thread priority is >= ANDROID_PRIORITY_BACKGROUND, we would like
it keep in background sched policy. However, currently if its main
process is switching among groups such as top-app/fg/bg, the background
policy of that thread will be gone. This patch is to address the problem.

Bug: 139521784
Test: sched policy of thread kept as expected
Change-Id: I19eec263d0ad8f0f2ea770eeeea451e168e0ea83
parent d86f0879
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