summaryrefslogtreecommitdiff
path: root/libs/androidfw/ConfigDescription.cpp
diff options
context:
space:
mode:
author Rhed Jao <rhedjao@google.com> 2022-12-21 15:06:27 +0800
committer Rhed Jao <rhedjao@google.com> 2022-12-23 15:37:01 +0800
commitc285dbe125008819cb08af6f74acd8815f17a9fc (patch)
treef86127cd319adcd1ce0a8b8a1857d22ed22631cd /libs/androidfw/ConfigDescription.cpp
parent746366d0417938508d317e66bba9b386699be840 (diff)
Improve the cache rebuild latency of AppsFilter on boot
- Moving the rebuild task from background thread to the service thread in order to get more cpu resource for visibility computing. - Using a thread pool to compute component visibility of all packages on the device in parallel. It can improve the latency if lots of packages on device. Bug: 257339238 Bug: 262515424 Test: atest CtsAppEnumerationTestCases Change-Id: Id9dbd4e55fa8fdd0a3f07e3ff7b953e1d9c5f1a9
Diffstat (limited to 'libs/androidfw/ConfigDescription.cpp')
0 files changed, 0 insertions, 0 deletions