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

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

Merge "Emulator: Fix CTS failure caused by removed MANAGE_USERS permission in Shell"

parents 75ed8206 12d23a13
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -592,7 +592,7 @@ public class UserManagerService extends IUserManager.Stub {
    @Override
    public int[] getProfileIds(int userId, boolean enabledOnly) {
        if (userId != UserHandle.getCallingUserId()) {
            checkManageUsersPermission("getting profiles related to user " + userId);
            checkManageOrCreateUsersPermission("getting profiles related to user " + userId);
        }
        final long ident = Binder.clearCallingIdentity();
        try {