summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Anna Bauza <annabauza@google.com> 2024-07-03 18:07:53 +0000
committer Anna Bauza <annabauza@google.com> 2024-07-03 18:07:53 +0000
commit107ce659bc59227669323b56aab788c0e4f3c67c (patch)
tree4a16e1c172caf500b6d07521b64438c57165c5ad /libs/androidfw/StringPool.cpp
parent96b4454197fe19aab471daa814d4df0ca43805b6 (diff)
Add a flag to fix the cache for UserManager.getUserProperties
The cache is not optimized for getUserProperty for values below 0, eg. UserHandler.USER_NULL or UserHandle.USER_ALL. This can lead to binder spam if used incorrectly. It also fix potential misuse of getUserProprties method Bug:350416200 Change-Id: I1ae548b33c6052b16c2f926260742f26b7141b1f Test:N/A Flag: android.multiuser.fix_get_user_property_cache
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions