Merge "Log removeUser"
This commit is contained in:
committed by
Android (Google) Code Review
commit
ed4ade722f
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user