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

Commit 49949c8a authored by Anna Bauza's avatar Anna Bauza
Browse files

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

Bug: 350419621
Change-Id: I9edc129bdee2be0ff255f3c4fe3c754cb5d5481c
Test: N/A
Flag: android.multiuser.cache_user_restrictions_read_only
parent d7510af4
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -363,6 +363,17 @@ flag {
  is_fixed_read_only: true
}

flag {
    name: "cache_user_restrictions_read_only"
    namespace: "multiuser"
    description: "Cache hasUserRestriction to avoid unnecessary binder calls"
    bug: "350419621"
    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"