diff options
author | Nikita Ioffe <ioffe@google.com> | 2019-08-23 18:26:31 +0100 |
---|---|---|
committer | Nikita Ioffe <ioffe@google.com> | 2019-08-23 18:26:31 +0100 |
commit | 8d3253599b4be53f7d9825ab4050f8ffe8d79c88 (patch) | |
tree | c4381cf24b4ebc22fe838f90ba55d82ef3026d4f /startop/scripts/lib/cmd_utils.py | |
parent | 9727c0581a456a6ea18c7858d69b9f2de18af9f4 (diff) |
ApexManager: Post populateAllPackagesCacheIfNeeded to a background thread
populateAllPackagesCacheIfNeeded is rather expensive method and
shouldn't be run in broadcast handler thread (it was my mistake to
suggest this in ag/9204784).
It's fine to use background thread to execute
populateAllPackagesCacheIfNeeded because components that need
to match APEX are not doing it on user critical path.
Bug: 138460874
Test: adb shell pm list packages --apex-only --show-versioncode
Change-Id: Ib17fadb978f112c26c113e3bc42b9edaeeefca8a
Diffstat (limited to 'startop/scripts/lib/cmd_utils.py')
0 files changed, 0 insertions, 0 deletions