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

Commit 159c1380 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Allow apps with CREATE_USERS permission to call UM.getUserInfo." into nyc-dev

parents ea1f3cb5 accaa08c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -798,7 +798,7 @@ public class UserManagerService extends IUserManager.Stub {

    @Override
    public UserInfo getUserInfo(int userId) {
        checkManageUsersPermission("query user");
        checkManageOrCreateUsersPermission("query user");
        synchronized (mUsersLock) {
            return userWithName(getUserInfoLU(userId));
        }