summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Anna Bauza <annabauza@google.com> 2024-10-17 07:28:25 +0000
committer Anna Bauza <annabauza@google.com> 2024-10-17 07:30:51 +0000
commita28e67f071941d9616dece39afa413bafcfde7a5 (patch)
tree7071a51747151239e0eb11667c7f097d6d80431c
parentb13dab2a9a6e9ae37c05a385cca9d9f1b03c38d8 (diff)
Add a flag to fix the security exception in PropertyInvalidatedCache.
Change-Id: I7b10b0090536487d5d141f0456edf4298450fb9a Flag: android.multiuser.property_invalidated_cache_bypass_mismatched_uids Test: N/A Bug: 373752556
-rw-r--r--core/java/android/content/pm/multiuser.aconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/core/java/android/content/pm/multiuser.aconfig b/core/java/android/content/pm/multiuser.aconfig
index 7de7131fc2ad..fa3bc9e16a6b 100644
--- a/core/java/android/content/pm/multiuser.aconfig
+++ b/core/java/android/content/pm/multiuser.aconfig
@@ -211,6 +211,18 @@ flag {
}
flag {
+ name: "property_invalidated_cache_bypass_mismatched_uids"
+ namespace: "multiuser"
+ description: "Bypass the cache when the process UID does not match the binder UID."
+ bug: "373752556"
+ metadata {
+ purpose: PURPOSE_BUGFIX
+ }
+ is_fixed_read_only: true
+}
+
+
+flag {
name: "cache_profile_parent_read_only"
namespace: "multiuser"
description: "Cache getProfileParent to avoid unnecessary binder calls"