summaryrefslogtreecommitdiff
path: root/libs/androidfw/ZipFileRO.cpp
diff options
context:
space:
mode:
author Anna Bauza <annabauza@google.com> 2024-10-31 14:04:56 +0000
committer Anna Bauza <annabauza@google.com> 2024-10-31 21:52:48 +0000
commit2b1b5cc74837c1ba73d2055e1417dcf289a44fa0 (patch)
tree682e484c60b900e7a90060f6db4367793fdcc2bd /libs/androidfw/ZipFileRO.cpp
parentea6fd9576c24b6a47170d5e10a5c9825e7d17d98 (diff)
Cache getProfileIds to reduce high volume of binder calls.
This CL introduce 2 caches one for enabled profiles only other for disabled profiles. This diffrention is, so additional boolean parameter required by server is cached. Alternatively caching could be done by introducing wrapper method which takes pair object combining both parameters. Test: atest UserManagerTest Flag: android.multiuser.cache_profile_ids_read_only Bug: 350421409 Change-Id: Ib0594d8dd3f4c0d8576bf7c130fb7a017408a76d
Diffstat (limited to 'libs/androidfw/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions