diff options
author | Marco Ballesio <balejs@google.com> | 2020-07-29 09:13:53 -0700 |
---|---|---|
committer | Marco Ballesio <balejs@google.com> | 2020-07-29 11:51:39 -0700 |
commit | 6a4b7680ccb809b49af5c258d89f61b97769ddf8 (patch) | |
tree | 8b9479495d2a5dbcccd0f7820ac1e7502afd689f /tools/aapt2/java/AnnotationProcessor.cpp | |
parent | 20d70277c5fe90c0c548b835167878813d5ec278 (diff) |
Ensure CachedAppOptimizerThread cpuset
CachedAppOptimizerThread isn't started until the device config is
downloaded from the Phenotype server, but CachedAppOptimizer.init() is
called at device boot.
Configure the system-background cpuset for CachedOptimizerThread at
creation, then set it again when the thread is started, to ensure
priorities aren't modified by ActivityManager.
Test: flashed/wiped the device and verified no optimizer thread was
present until wifi connection, then verified that the thread cpuset was
system-background once created. Rebooted the device again and verified
that the optimizer thread was system-background cpuset again.
Bug: 149610535
Change-Id: I310f234552320f95bd7e05053084425a3fcc6dcf
Diffstat (limited to 'tools/aapt2/java/AnnotationProcessor.cpp')
0 files changed, 0 insertions, 0 deletions