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

Commit 8caa4bb2 authored by Yasin Kilicdere's avatar Yasin Kilicdere Committed by Automerger Merge Worker
Browse files

Merge "Puts mPm.onNewUserCreated inside Binder.withCleanCallingIdentity" into tm-dev am: 3a6a67c5

parents b5d25971 3a6a67c5
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -4207,7 +4207,9 @@ public class UserManagerService extends IUserManager.Stub {
            writeUserListLP();
        }
        updateUserIds();
        Binder.withCleanCallingIdentity(() -> {
            mPm.onNewUserCreated(preCreatedUser.id, /* convertedFromPreCreated= */ true);
        });
        dispatchUserAdded(preCreatedUser, token);
        return preCreatedUser;
    }