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

Commit 906a21ba authored by bohu's avatar bohu Committed by android-build-merger
Browse files

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

am: d91dd065

Change-Id: Ie178b790e11eb081857cd67c7f9af7fa95914868
parents 8139b9f0 d91dd065
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -571,7 +571,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 {