Merge "Log UserManagerService.removeUser stack trace"

This commit is contained in:
Samuel Fufa
2020-10-16 21:26:54 +00:00
committed by Android (Google) Code Review

View File

@@ -3906,7 +3906,7 @@ public class UserManagerService extends IUserManager.Stub {
*/
@Override
public boolean removeUser(@UserIdInt int userId) {
Slog.i(LOG_TAG, "removeUser u" + userId);
Slog.i(LOG_TAG, "removeUser u" + userId, new Exception());
checkManageOrCreateUsersPermission("Only the system can remove users");
final String restriction = getUserRemovalRestriction(userId);