diff options
| author | Android (Google) Code Review <android-gerrit@google.com> | 2009-07-22 11:51:20 -0700 |
|---|---|---|
| committer | Android Git Automerger <android-git-automerger@android.com> | 2009-07-22 11:51:20 -0700 |
| commit | e75cfdc7336aca420fd9f537f179b2526442b9fa (patch) | |
| tree | 604d14379b8aa357887ab0ac59fe861ca3e91f09 /core/java/android/widget/AutoCompleteTextView.java | |
| parent | 9d06da8324122455c14e4ef3d3c0aaf14f44e270 (diff) | |
| parent | b551fb872be9b758c7793f56398d25a74d4a404c (diff) | |
am b551fb87: Merge change 8210 into donut
Merge commit 'b551fb872be9b758c7793f56398d25a74d4a404c'
* commit 'b551fb872be9b758c7793f56398d25a74d4a404c':
Always call ensureImeVisible when the text field is clicked. We want this
Diffstat (limited to 'core/java/android/widget/AutoCompleteTextView.java')
| -rw-r--r-- | core/java/android/widget/AutoCompleteTextView.java | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/core/java/android/widget/AutoCompleteTextView.java b/core/java/android/widget/AutoCompleteTextView.java index 09a547ff5e11..b00a4759c3f3 100644 --- a/core/java/android/widget/AutoCompleteTextView.java +++ b/core/java/android/widget/AutoCompleteTextView.java @@ -205,11 +205,10 @@ public class AutoCompleteTextView extends EditText implements Filter.FilterListe * Private hook into the on click event, dispatched from {@link PassThroughClickListener} */ private void onClickImpl() { - // if drop down should always visible, bring it back in front of the soft - // keyboard when the user touches the text field - if (mDropDownAlwaysVisible - && mPopup.isShowing() - && mPopup.getInputMethodMode() == PopupWindow.INPUT_METHOD_NOT_NEEDED) { + // If the dropdown is showing, bring it back in front of the soft + // keyboard when the user touches the text field. + if (mPopup.isShowing() && + mPopup.getInputMethodMode() == PopupWindow.INPUT_METHOD_NOT_NEEDED) { ensureImeVisible(); } } |
