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

Commit 0c8ac7df authored by Adam Bookatz's avatar Adam Bookatz Committed by Automerger Merge Worker
Browse files

Merge "Log when removeUser called again" into sc-dev am: a35c5e1c

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13438477

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I0ef297838a55e52d38bd8ea9c8069e80ace4684e
parents 76dec89a a35c5e1c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3880,6 +3880,7 @@ public class UserManagerService extends IUserManager.Stub {
     */
    @Override
    public boolean removeUser(@UserIdInt int userId) {
        Slog.i(LOG_TAG, "removeUser u" + userId);
        checkManageOrCreateUsersPermission("Only the system can remove users");

        final String restriction = getUserRemovalRestriction(userId);