commit | 521240a317b206c44f548492d0fdf9102de94718 | [log] [tgz] |
---|---|---|
author | Tarandeep Singh <tarandeep@google.com> | Mon Jun 12 22:33:08 2017 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Mon Jun 12 22:33:08 2017 +0000 |
tree | 7e70acadf39b81621fa8f3c617af7c23334df258 | |
parent | 546cae8e3887b98007ccf80c67a2cfc25331d83c [diff] | |
parent | 86b8f4460dc1e6eaf21ecba0b255ab2f03f4a4b7 [diff] |
Fix keyboard not launching on screen lock settings. am: 86b8f4460d Change-Id: I21b872ac9edacd625c0995b9c878cbe91f82cc2b
diff --git a/src/com/android/settings/password/ConfirmLockPassword.java b/src/com/android/settings/password/ConfirmLockPassword.java index 0acdcd8..9a494cb 100644 --- a/src/com/android/settings/password/ConfirmLockPassword.java +++ b/src/com/android/settings/password/ConfirmLockPassword.java
@@ -134,6 +134,8 @@ mPasswordEntry = (TextView) view.findViewById(R.id.password_entry); mPasswordEntry.setOnEditorActionListener(this); + // EditText inside ScrollView doesn't automatically get focus. + mPasswordEntry.requestFocus(); mPasswordEntryInputDisabler = new TextViewInputDisabler(mPasswordEntry); mHeaderTextView = (TextView) view.findViewById(R.id.headerText);