Skip to content

Commit 4797d57

Browse files
Dianne HackbornAndroid (Google) Code Review
authored andcommitted
Merge "Fix issue #6373340: Cannot unlock to app if app was the..."
2 parents e4cd3b0 + 1e88e98 commit 4797d57

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

services/java/com/android/server/am/ActivityManagerService.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4116,6 +4116,10 @@ public void showBootMessage(final CharSequence msg, final boolean always) {
41164116
public void dismissKeyguardOnNextActivity() {
41174117
enforceNotIsolatedCaller("dismissKeyguardOnNextActivity");
41184118
synchronized (this) {
4119+
if (mLockScreenShown) {
4120+
mLockScreenShown = false;
4121+
comeOutOfSleepIfNeededLocked();
4122+
}
41194123
mMainStack.dismissKeyguardOnNextActivityLocked();
41204124
}
41214125
}

0 commit comments

Comments
 (0)