summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Anna Bauza <annabauza@google.com> 2024-07-11 17:05:28 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2024-07-11 17:05:28 +0000
commit1c55e509626291cc73f4a74b3040578d344060b2 (patch)
treefc61fcd3e8297f4eac4de923add3e9eb266da6de
parent196ad864b81436e96f339756b890cb34e44ed743 (diff)
parentbef69d25cb68f398d2d1aee091bdafe263014c23 (diff)
Merge "Add a flag to cache getProfileParent to avoid unnecessary binder calls in worse cases ~1000 times per second." into main
-rw-r--r--core/java/android/content/pm/multiuser.aconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/core/java/android/content/pm/multiuser.aconfig b/core/java/android/content/pm/multiuser.aconfig
index c7d94c66c81e..26ee4e821ede 100644
--- a/core/java/android/content/pm/multiuser.aconfig
+++ b/core/java/android/content/pm/multiuser.aconfig
@@ -161,6 +161,16 @@ flag {
}
flag {
+ name: "cache_profile_parent"
+ namespace: "multiuser"
+ description: "Cache getProfileParent to avoid unnecessary binder calls"
+ bug: "350417399"
+ metadata {
+ purpose: PURPOSE_BUGFIX
+ }
+}
+
+flag {
name: "cache_quiet_mode_state"
namespace: "multiuser"
description: "Optimise quiet mode state retrieval"