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

Commit b213800d authored by Samuel Fufa's avatar Samuel Fufa
Browse files

Log UserManagerService.removeUser stack trace

This is a temporary change to investigate a caller why a user profile gets removed while a test is running.

Bug: 159671700
Test: compiles, presubmit passes
Change-Id: I653ae4c73c0d4cdba09a664b60b1e2973c7ea09c
parent 2588dcb3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3859,7 +3859,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 boolean isManagedProfile;