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

Commit 991db77a authored by Adrian Roos's avatar Adrian Roos
Browse files

Only request IME if password view is showing

Bug: 19250277
Change-Id: I881b08ebc6900ba43289b772ed0d039dbb62149c
parent 07c745b5
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);
                    }
                }
            }
        });
    }