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

Commit 32d267ca authored by Philip P. Moltmann's avatar Philip P. Moltmann Committed by android-build-merger
Browse files

Merge "Check if user is unlocked when handler is executed" into nyc-dev am: beb3d299

am: 771f8d6b

* commit '771f8d6b':
  Check if user is unlocked when handler is executed

Change-Id: If8fb4c2b819ffce5f5816607ac483d9116207e42
parents 81b23436 771f8d6b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -836,6 +836,8 @@ public final class PrintManagerService extends SystemService {
            BackgroundThread.getHandler().post(new Runnable() {
                @Override
                public void run() {
                    if (!mUserManager.isUserUnlockingOrUnlocked(userId)) return;

                    UserState userState;
                    synchronized (mLock) {
                        userState = getOrCreateUserStateLocked(userId, true);