summaryrefslogtreecommitdiff
path: root/core/java/android/util/SparseArrayMap.java
diff options
context:
space:
mode:
authorSamiul Islam <samiul@google.com>2021-07-22 16:41:09 +0100
committerSamiul Islam <samiul@google.com>2021-08-20 11:56:53 +0100
commit9f80efac3932e5c45224c2067e6045cd71a28a44 (patch)
tree2d6e814c2ec7172d1bee4544f3f10f2fffc82227 /core/java/android/util/SparseArrayMap.java
parent3d8b82ca08ac785a1d95f5b377bd8abee7a2c7e1 (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. Bug: 187444679 Test: atest StagingManagerTest Change-Id: I76803382db26a029f6d9cabb0d9ce9a2bf9c8ea1 Merged-In: I76803382db26a029f6d9cabb0d9ce9a2bf9c8ea1 (cherry picked from commit c8132a943723f56fb4850b96779ac39d41fec336)
Diffstat (limited to 'core/java/android/util/SparseArrayMap.java')
0 files changed, 0 insertions, 0 deletions