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

Commit e75cfdc7 authored by Android (Google) Code Review's avatar Android (Google) Code Review Committed by Android Git Automerger
Browse files

am b551fb87: Merge change 8210 into donut

Merge commit 'b551fb87'

* commit 'b551fb87':
  Always call ensureImeVisible when the text field is clicked. We want this
parents 9d06da83 b551fb87
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
@@ -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();
        }
    }