Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 270496ef authored by Adrian Roos's avatar Adrian Roos Committed by Android Git Automerger
Browse files

am 4e4c37a2: am 991db77a: Only request IME if password view is showing

* commit '4e4c37a2':
  Only request IME if password view is showing
parents c59db2ea 4e4c37a2
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -90,11 +90,13 @@ public class KeyguardPasswordView extends KeyguardAbsKeyInputView
        post(new Runnable() {
            @Override
            public void run() {
                if (isShown()) {
                    mPasswordEntry.requestFocus();
                    if (reason != KeyguardSecurityView.SCREEN_ON || mShowImeAtScreenOn) {
                        mImm.showSoftInput(mPasswordEntry, InputMethodManager.SHOW_IMPLICIT);
                    }
                }
            }
        });
    }