Merge "Fix cannot unlock keyguard when work challege is unified and work mode is off" into nyc-dev
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