Files
frameworks_base/core/java/android/permission
Lee Shombert e2405233d9 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
2021-08-02 17:03:41 +00:00
..
2021-03-02 10:37:41 -08:00