Android 11.0.0 Release 11 (RD1A.200810.022.A4)
Refine set_sched_policy behavior

If a thread priority is greater than or equal to
ANDROID_PRIORITY_BACKGROUND, and the new priority is less than
ANDROID_PRIORITY_BACKGROUND, set the sched policy to its parent process.

Bug: 139521784
Bug: 18249098
Test: functionality verified
Change-Id: Id0632cb53825cd7d342610713e100c651994d78f
1 file changed