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

Commit fc5d52d1 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fixes UMS.getPreCreatedUserLU() to ignore partial pre-created users."...

Merge "Fixes UMS.getPreCreatedUserLU() to ignore partial pre-created users." into tm-dev am: 26e995aa am: 4fa5f62e

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17917999



Change-Id: I12e8181de687e6af6ff9a3277ff261e8a27347f4
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents a559881d 4fa5f62e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4423,7 +4423,7 @@ public class UserManagerService extends IUserManager.Stub {
        for (int i = 0; i < userSize; i++) {
            final UserData user = mUsers.valueAt(i);
            if (DBG) Slog.d(LOG_TAG, i + ":" + user.info.toFullString());
            if (user.info.preCreated && user.info.userType.equals(userType)) {
            if (user.info.preCreated && !user.info.partial && user.info.userType.equals(userType)) {
                if (!user.info.isInitialized()) {
                    Slog.w(LOG_TAG, "found pre-created user of type " + userType
                            + ", but it's not initialized yet: " + user.info.toFullString());