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

Commit dc9f5089 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Flag removal: CachesNotInvalidatedAtStartReadOnly" into main

parents 3f169727 d87c4d0d
Loading
Loading
Loading
Loading
+0 −11
Original line number Diff line number Diff line
@@ -309,17 +309,6 @@ flag {
  is_fixed_read_only: true
}

flag {
    name: "caches_not_invalidated_at_start_read_only"
    namespace: "multiuser"
    description: "PIC need to be invalidated at start in order to work properly."
    bug: "356167673"
    metadata {
        purpose: PURPOSE_BUGFIX
  }
  is_fixed_read_only: true
}

flag {
    name: "cache_user_info_read_only"
    namespace: "multiuser"
+7 −9
Original line number Diff line number Diff line
@@ -1104,7 +1104,6 @@ public class UserManagerService extends IUserManager.Stub {
     * so that caches can start working.
     */
    private static final void initPropertyInvalidatedCaches() {
        if (android.multiuser.Flags.cachesNotInvalidatedAtStartReadOnly()) {
        UserManager.invalidateIsUserUnlockedCache();
        UserManager.invalidateQuietModeEnabledCache();
        if (android.multiuser.Flags.cacheUserPropertiesCorrectlyReadOnly()) {
@@ -1114,7 +1113,6 @@ public class UserManagerService extends IUserManager.Stub {
        UserManager.invalidateCacheOnUserListChange();
        UserManager.invalidateUserRestriction();
    }
    }

    void systemReady() {
        mAppOpsService = IAppOpsService.Stub.asInterface(