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

Commit 4593e425 authored by Fyodor Kupolov's avatar Fyodor Kupolov
Browse files

Log removeUser

Test: manual
Bug: 32455935
Change-Id: If1756725a428278ec21aa4d2cccce0da6079c22b
parent 81769558
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2483,6 +2483,7 @@ public class UserManagerService extends IUserManager.Stub {
     */
    @Override
    public boolean removeUser(int userHandle) {
        Slog.i(LOG_TAG, "removeUser u" + userHandle);
        checkManageOrCreateUsersPermission("Only the system can remove users");
        if (getUserRestrictions(UserHandle.getCallingUserId()).getBoolean(
                UserManager.DISALLOW_REMOVE_USER, false)) {