summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetManager.cpp
diff options
context:
space:
mode:
author Samiul Islam <samiul@google.com> 2021-07-22 16:41:09 +0100
committer Samiul Islam <samiul@google.com> 2021-08-18 13:36:47 +0100
commit9a68bedca7ab3c21f7418f88a290f54e354d3e3f (patch)
tree10c9c53f627a7240e6cd845b28aa9364ff98f5f7 /libs/androidfw/AssetManager.cpp
parent43d5b8b3f7c8da668f9e21d96c93f7e9dfba1b10 (diff)
Open up new API in StagingManager to get information about staged APEX
These APIs will be later used by PackageManagerNative service to open up the information to native clients. The current implementation is a bit wasteful since everytime the client makes a request, we ask the ApexManager to fetch us information about the staged sessions N times, where N is the number of staged sessions that are marked ready. We can optimize it by caching the result of getStagedApexInfos(session) method. This will be done in a separate CL. (Note: Unit tests have been removed to resolve cherry-pick conflict) Bug: 187444679 Test: atest StagedInstallInternalTests Change-Id: I76803382db26a029f6d9cabb0d9ce9a2bf9c8ea1 Merged-In: I76803382db26a029f6d9cabb0d9ce9a2bf9c8ea1 (cherry picked from commit c8132a943723f56fb4850b96779ac39d41fec336)
Diffstat (limited to 'libs/androidfw/AssetManager.cpp')
0 files changed, 0 insertions, 0 deletions