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

Commit 87671193 authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka Committed by Android Git Automerger
Browse files

am 2eb5eb4d: am be2fef4d: Merge "Fix backing view height calculation in...

am 2eb5eb4d: am be2fef4d: Merge "Fix backing view height calculation in landscape orientation" into jb-dev

* commit '2eb5eb4d':
  Fix backing view height calculation in landscape orientation
parents 7b250c25 2eb5eb4d
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -982,7 +982,9 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
        final KeyboardView inputView = mKeyboardSwitcher.getKeyboardView();
        if (inputView == null || mSuggestionsContainer == null)
            return;
        final int backingHeight = getAdjustedBackingViewHeight();
        final int adjustedBackingHeight = getAdjustedBackingViewHeight();
        final boolean backingGone = (mKeyPreviewBackingView.getVisibility() == View.GONE);
        final int backingHeight = backingGone ? 0 : adjustedBackingHeight;
        // In fullscreen mode, the height of the extract area managed by InputMethodService should
        // be considered.
        // See {@link android.inputmethodservice.InputMethodService#onComputeInsets}.