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

Commit beb3d299 authored by Philip P. Moltmann's avatar Philip P. Moltmann Committed by Android (Google) Code Review
Browse files

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

parents aabed1c5 efb19502
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);