Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 15377a2b authored by Anna Bauza's avatar Anna Bauza
Browse files

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
parent b2ea8ff7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment