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

Skip to content
Commit 107ce659 authored by Anna Bauza's avatar Anna Bauza
Browse files

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
parent 96b44541
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