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

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

Add a flag to cache getProfileParent to avoid unnecessary binder calls in...

Add a flag to cache getProfileParent to avoid unnecessary binder calls in worse cases ~1000 times per second.

Bug: 350417399
Change-Id: Ib567219c490f7caa0d2df2dcc2c40463ebd25007
Test: N/A
Flag: android.multiuser.cache_profile_parent
parent 2acba2f3
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -160,6 +160,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"