Skip to content

Commit 62e9c05

Browse files
dsandlerAndroid (Google) Code Review
authored andcommitted
Merge "Show the keyboard less aggressively." into jb-mr1-lockscreen-dev
2 parents 6e36f10 + fba4d4a commit 62e9c05

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,9 @@ public boolean needsInput() {
7272
@Override
7373
public void onResume() {
7474
super.onResume();
75-
mImm.toggleSoftInput(InputMethodManager.SHOW_FORCED, 0);
75+
// XXX this is still not right because onResume is being called every time the page changes
76+
mPasswordEntry.requestFocus();
77+
mImm.showSoftInput(mPasswordEntry, InputMethodManager.SHOW_IMPLICIT);
7678
}
7779

7880
@Override

0 commit comments

Comments
 (0)