Cache getProfileIds to reduce high volume of binder calls.
This CL introduce 2 caches one for enabled profiles only other for disabled profiles. This diffrention is, so additional boolean parameter required by server is cached. Alternatively caching could be done by introducing wrapper method which takes pair object combining both parameters. Test: atest UserManagerTest Flag: android.multiuser.cache_profile_ids_read_only Bug: 350421409 Change-Id: Ib0594d8dd3f4c0d8576bf7c130fb7a017408a76d
Loading
Please register or sign in to comment