summaryrefslogtreecommitdiff
path: root/libsparse/sparse.cpp
diff options
context:
space:
mode:
authorRick Yiu <rickyiu@google.com>2019-12-26 19:35:03 +0800
committerRick Yiu <rickyiu@google.com>2020-02-07 02:54:57 +0000
commitf7f4442176fb0accb96ebeaa32dd47f4a60d0b09 (patch)
treee4b9fba8da406a5e419d240b7576eec9ddf5491c /libsparse/sparse.cpp
parentcb1a8e7fdd231a9d1e95b1493ad716b9008dd81f (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
Diffstat (limited to 'libsparse/sparse.cpp')
0 files changed, 0 insertions, 0 deletions