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

Commit f6ef828a authored by Ricky Wai's avatar Ricky Wai
Browse files

Fix cannot unlock keyguard when work challege is unified and work mode is off

Bug: 28138657
Change-Id: I20e2f571d9ac76c0cd92251de7e068f6c7fb3367
parent bb9fb194
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -895,7 +895,10 @@ final class UserController {
        synchronized (mService) {
            // Bail if already running unlocked, or if not running at all
            final UserState uss = mStartedUsers.get(userId);
            if (uss == null) return false;
            if (uss == null) {
                progress.finish();
                return false;
            }
            switch (uss.state) {
                case STATE_RUNNING_UNLOCKING:
                case STATE_RUNNING_UNLOCKED: