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

Commit e2405233 authored by Lee Shombert's avatar Lee Shombert
Browse files

Do not cache wildcard users (PermissionManager)

Bug: 186778818

PropertyInvalidatedCache queries that contain wildcard user IDs are no
longer cached.  Some simple multi-user tests show that no current
caches use wildcard user IDs, so the change has no effect on
performance.  The bypass() mechanism is used to avoid the cache when
necessary.

The change is preemptive - there are no known uses of these caches
with wildcard user IDs.

Test: atest
 * FrameworksServicesTests:UserManagerServiceCreateProfileTest

Change-Id: I60be14ae33fcd6e2e8df30c279311f6ffdf7711c
parent 0c250c88
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