am 991db77a: Only request IME if password view is showing
* commit '991db77a44f3352a8cf6351f79cad67bf955e4e4': Only request IME if password view is showing
This commit is contained in:
@@ -90,9 +90,11 @@ public class KeyguardPasswordView extends KeyguardAbsKeyInputView
|
||||
post(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
mPasswordEntry.requestFocus();
|
||||
if (reason != KeyguardSecurityView.SCREEN_ON || mShowImeAtScreenOn) {
|
||||
mImm.showSoftInput(mPasswordEntry, InputMethodManager.SHOW_IMPLICIT);
|
||||
if (isShown()) {
|
||||
mPasswordEntry.requestFocus();
|
||||
if (reason != KeyguardSecurityView.SCREEN_ON || mShowImeAtScreenOn) {
|
||||
mImm.showSoftInput(mPasswordEntry, InputMethodManager.SHOW_IMPLICIT);
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user