summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/CacheManager.cpp
diff options
context:
space:
mode:
authorRick Yiu <rickyiu@google.com>2020-03-22 15:15:16 +0800
committerRick Yiu <rickyiu@google.com>2020-05-07 13:08:40 +0000
commite38dcaa3471bac33c82c0414d3a400b7662cde58 (patch)
treec68a7f8a518491bbc68dc0cf003244982c057637 /libs/hwui/renderthread/CacheManager.cpp
parentd86f08797cd39f2566f92fa0fd9d41aef33df300 (diff)
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
Diffstat (limited to 'libs/hwui/renderthread/CacheManager.cpp')
0 files changed, 0 insertions, 0 deletions