commit | 107ce659bc59227669323b56aab788c0e4f3c67c | [log] [tgz] |
---|---|---|
author | Anna Bauza <annabauza@google.com> | Wed Jul 03 18:07:53 2024 +0000 |
committer | Anna Bauza <annabauza@google.com> | Wed Jul 03 18:07:53 2024 +0000 |
tree | 4a16e1c172caf500b6d07521b64438c57165c5ad | |
parent | 96b4454197fe19aab471daa814d4df0ca43805b6 [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