Fix cannot unlock keyguard when work challege is unified and work mode is off
Bug: 28138657 Change-Id: I20e2f571d9ac76c0cd92251de7e068f6c7fb3367
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user