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

Commit d91dd065 authored by bohu's avatar bohu Committed by Sudheer Shanka
Browse files

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

BUG: 34132936
BUG: 31648062
Change-Id: I9679c18c0e3611ebc9779408826f182ea8f1e88b
(cherry picked from commit 57f47e8490b68678fd123cdc111d5073ec994382)
(cherry picked from commit 12d23a13)
parent 0b7b79a8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -573,7 +573,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 {