diff options
| author | 2024-09-23 14:43:20 -0700 | |
|---|---|---|
| committer | 2024-09-23 14:43:20 -0700 | |
| commit | 04726fbd58952f3a0a1f8231bff50e5e2176a8c4 (patch) | |
| tree | 5ac4f6f065449061d2adb342c8a8aad4e0eb19e9 | |
| parent | 116d632ed439e19b7eb3eac184fc52bcd28d9382 (diff) | |
Flag for caching UserProperties correctly
UserProperties are currently not cached correctly. This needs to be
fixed, and callers need to optimize their calls to use the new caching
mechanism properly.
Bug: 369198539
Flag: android.multiuser.cache_user_properties_correctly_read_only
Test: N/A
Change-Id: I093855f26623bf32444f9741ec24c0d462ccfe4b
| -rw-r--r-- | core/java/android/content/pm/multiuser.aconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/core/java/android/content/pm/multiuser.aconfig b/core/java/android/content/pm/multiuser.aconfig index 3a33ef9002cc..3a21f72f90e5 100644 --- a/core/java/android/content/pm/multiuser.aconfig +++ b/core/java/android/content/pm/multiuser.aconfig @@ -211,6 +211,17 @@ flag { } flag { + name: "cache_user_properties_correctly_read_only" + namespace: "multiuser" + description: "UserProperties cache needs to take into account who the callingUid is." + bug: "369198539" + metadata { + purpose: PURPOSE_BUGFIX + } + is_fixed_read_only: true +} + +flag { name: "cache_user_serial_number" namespace: "multiuser" description: "Optimise user serial number retrieval" |