Skip to content

Commit 6e2cbcc

Browse files
Craig MautnerAndroid (Google) Code Review
authored andcommitted
Merge "Missed a spot, needInput was not getting called." into jb-mr1-dev
2 parents 9fc6b8c + cd03a26 commit 6e2cbcc

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)