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

Commit 600eb65f authored by Anna Bauza's avatar Anna Bauza
Browse files

Add a flag to cache UserInfo to avoid unnecessary binder calls.

This call is used in many other API's and should improve performance greatly.

Bug: 161915546
Change-Id: I05f4ff7df6c4929a1ad429c79b2ef95d77b54bf8
Test: N/A
Flag: android.multiuser.cache_user_info_read_only
parent 13d32366
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -330,6 +330,17 @@ flag {
  is_fixed_read_only: true
}

flag {
    name: "cache_user_info_read_only"
    namespace: "multiuser"
    description: "Cache UserInfo to avoid unnecessary binder calls"
    bug: "161915546"
    metadata {
        purpose: PURPOSE_BUGFIX
  }
  is_fixed_read_only: true
}

# This flag guards the private space feature and all its implementations excluding the APIs. APIs are guarded by android.os.Flags.allow_private_profile.
flag {
    name: "enable_private_space_features"