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

Commit f06a12f1 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 am:...

Merge "Binder cache for isUserUnlocked update" into rvc-dev am: 6deca35e am: 370877da am: 97d85d50

Original change: undetermined

Change-Id: I5c6d01462eede1a5024284d78a041dd4a8ba3ad4
parents 3e3e565d 97d85d50
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);