diff options
author | Nikita Ioffe <ioffe@google.com> | 2019-08-23 18:26:31 +0100 |
---|---|---|
committer | Bill Lin <lbill@google.com> | 2019-11-06 23:19:58 +0800 |
commit | 9a2ded7ec22e1d6d2e723a56e064981e9627351b (patch) | |
tree | 34f89f638e1528d1a84eef5b321907f3198a005d /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 86e53119558f7310eda85be742e4bd30d10de24a (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: I738e932d94e86e897cee2b82f658d0e89328c6d3
Merged-In: Ib17fadb978f112c26c113e3bc42b9edaeeefca8a
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions