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

Skip to content
Commit 2b1b5cc7 authored by Anna Bauza's avatar Anna Bauza
Browse files

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
parent ea6fd957
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment