commit | c285dbe125008819cb08af6f74acd8815f17a9fc | [log] [tgz] |
---|---|---|
author | Rhed Jao <rhedjao@google.com> | Wed Dec 21 15:06:27 2022 +0800 |
committer | Rhed Jao <rhedjao@google.com> | Fri Dec 23 15:37:01 2022 +0800 |
tree | f86127cd319adcd1ce0a8b8a1857d22ed22631cd | |
parent | 746366d0417938508d317e66bba9b386699be840 [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