summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Anna Bauza <annabauza@google.com> 2024-07-01 13:37:04 +0000
committer Anna Bauza <annabauza@google.com> 2024-07-02 07:23:09 +0000
commit15377a2bd3f5051abe3a9410d0c600222f6adf5d (patch)
treef357da58f595e134bca70c33cfd90c99e7c4a2d9 /libs/androidfw/StringPool.cpp
parentb2ea8ff778743a9c92641767d762316319c11f7b (diff)
Cache user serial numbers
This CL adds a cache for user serial numbers in UserManager. This is done to improve performance, as the UserManagerService can be slow to respond to requests for user serial numbers. The cache is invalidated when a user is removed, so that the cache always contains the most up-to-date information. Flag: android.multiuser.cache_user_serial_number Bug: 340018451 Test: atest com.android.server.pm.UserManagerTest Change-Id: I1ac96c5777b617803a731109005f75fdb554db98
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions