Skip to content

Commit fba4d4a

Browse files
committed
Show the keyboard less aggressively.
Bug: 7427586 Proto-Id: I154ac6faa7609da458157ecfba8d9a94f4e27ccb Change-Id: I6fcabbdca358f124e362443db1377681378347ae
1 parent 8a26bf5 commit fba4d4a

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)