Skip to content

Commit cd03a26

Browse files
author
Craig Mautner
committed
Missed a spot, needInput was not getting called.
Fixes bug 7250008. Change-Id: I837af438510275ea69e217289aeb7a08111b91b5
1 parent 0199679 commit cd03a26

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

policy/src/com/android/internal/policy/impl/keyguard/KeyguardHostView.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,8 +547,9 @@ private void showSecurityScreen(SecurityMode securityMode) {
547547
oldView.onPause();
548548
newView.onResume();
549549

550+
final boolean needsInput = newView.needsInput();
550551
if (mViewMediatorCallback != null) {
551-
mViewMediatorCallback.setNeedsInput(newView.needsInput());
552+
mViewMediatorCallback.setNeedsInput(needsInput);
552553
}
553554

554555
// Find and show this child.

0 commit comments

Comments
 (0)