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

Commit d63092a6 authored by Anna Bauza's avatar Anna Bauza
Browse files

Add READ ONLY flags for caching Profiles data

Flags for adding caching methods:
- getProfileParent
- getProfileIds
- getProfiles
- getProfileType

Change-Id: I7d72563fd746c9838e1dea50d82849915ae6fa77
Test: N/A
Flag: android.multiuser.cache_profile_ids_read_only
Flag: android.multiuser.cache_profile_type_read_only
Flag: android.multiuser.cache_profiles_read_only
Flag: android.multiuser.cache_profile_parent_read_only
Bug: 350417399
Bug: 350421409
Bug: 350417403
Bug: 350419395
parent b02f8680
Loading
Loading
Loading
Loading
+44 −0
Original line number Diff line number Diff line
@@ -247,6 +247,50 @@ flag {
  }
}

flag {
    name: "cache_profile_parent_read_only"
    namespace: "multiuser"
    description: "Cache getProfileParent to avoid unnecessary binder calls"
    bug: "350417399"
    metadata {
        purpose: PURPOSE_BUGFIX
  }
  is_fixed_read_only: true
}

flag {
    name: "cache_profile_ids_read_only"
    namespace: "multiuser"
    description: "Cache getProfileIds to avoid unnecessary binder calls"
    bug: "350421409"
    metadata {
        purpose: PURPOSE_BUGFIX
  }
  is_fixed_read_only: true
}

flag {
    name: "cache_profile_type_read_only"
    namespace: "multiuser"
    description: "Cache getProfileType to avoid unnecessary binder calls"
    bug: "350417403"
    metadata {
        purpose: PURPOSE_BUGFIX
  }
  is_fixed_read_only: true
}

flag {
    name: "cache_profiles_read_only"
    namespace: "multiuser"
    description: "Cache getProfiles to avoid unnecessary binder calls"
    bug: "350419395"
    metadata {
        purpose: PURPOSE_BUGFIX
  }
  is_fixed_read_only: true
}

flag {
    name: "cache_quiet_mode_state"
    namespace: "multiuser"