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

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

am 51cefb2e: Merge change 7889 into donut

Merge commit '51cefb2e'

* commit '51cefb2e':
  Ignore unneeded soft keyboard in ACTV height calc
parents 0e9dd3b0 51cefb2e
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -1279,11 +1279,8 @@ public class AutoCompleteTextView extends EditText implements Filter.FilterListe
            }
        }

        // Max height available on the screen for a popup. If this AutoCompleteTextView has
        // the dropDownAlwaysVisible attribute, and the input method is not currently required,
        // we then we ask for the height ignoring any bottom decorations like the input method.
        // Otherwise we respect the input method.
        boolean ignoreBottomDecorations = mDropDownAlwaysVisible &&
        // Max height available on the screen for a popup.
        boolean ignoreBottomDecorations =
                mPopup.getInputMethodMode() == PopupWindow.INPUT_METHOD_NOT_NEEDED;
        final int maxHeight = mPopup.getMaxAvailableHeight(
                getDropDownAnchorView(), mDropDownVerticalOffset, ignoreBottomDecorations);