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

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

Merge "Reduce to hold mUsersLock for the system user" into main

parents a1cc3f45 7ae06ade
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3289,7 +3289,7 @@ public class UserManagerService extends IUserManager.Stub {

    /** Called by PackageManagerService */
    public boolean exists(@UserIdInt int userId) {
        return mLocalService.exists(userId);
        return userId == UserHandle.USER_SYSTEM || mLocalService.exists(userId);
    }

    /**