commit | 5ae52ffdb8e2fdfd0d618bca29cb39a3e4706ca4 | [log] [tgz] |
---|---|---|
author | Rick Yiu <rickyiu@google.com> | Thu Dec 26 19:35:03 2019 +0800 |
committer | Rick Yiu <rickyiu@google.com> | Fri Feb 07 02:54:57 2020 +0000 |
tree | e4b9fba8da406a5e419d240b7576eec9ddf5491c | |
parent | d9cdb200d344b1fc8252f00b78bceb25c3b4e3d4 [diff] |
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 Test: functionality verified Change-Id: Ie6fe33e08e4fda0a119b9869e8dd1733c164d79e