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

Commit 062f27dc authored by Lee Shombert's avatar Lee Shombert Committed by Automerger Merge Worker
Browse files

Merge "Binder cache for isUserUnlocked update" into rvc-dev am: 6deca35e

Original change: undetermined

Change-Id: I7561aabc54b2e8ab4ac2bd155df78668a9d34b00
parents 858c59fa 6deca35e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -376,6 +376,7 @@ class StorageManagerService extends IStorageManager.Stub
    private class WatchedLockedUsers {
        private int[] users = EmptyArray.INT;
        public WatchedLockedUsers() {
            invalidateIsUserUnlockedCache();
        }
        public void append(int userId) {
            users = ArrayUtils.appendInt(users, userId);
+1 −0
Original line number Diff line number Diff line
@@ -491,6 +491,7 @@ public class UserManagerService extends IUserManager.Stub {
        final SparseIntArray states;
        public WatchedUserStates() {
            states = new SparseIntArray();
            invalidateIsUserUnlockedCache();
        }
        public int get(int userId) {
            return states.get(userId);