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

Commit 771f8d6b 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

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

Change-Id: I31d2777b1a06802aa2450c7d9242a4f1c5d555a5
parents 6619131b beb3d299
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);