am 549e295d: Fix updateFullscreenMode of LatinIME

* commit '549e295dc113bff50077c3c355dcd94af09a1b2f':
  Fix updateFullscreenMode of LatinIME
This commit is contained in:
Tadashi G. Takaoka 2011-11-15 18:25:21 -08:00 committed by Android Git Automerger
commit eb520c5683

View file

@ -1077,9 +1077,9 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
super.updateFullscreenMode();
if (mKeyPreviewBackingView == null) return;
// In extract mode, no need to have extra space to show the key preview.
// In fullscreen mode, no need to have extra space to show the key preview.
// If not, we should have extra space above the keyboard to show the key preview.
mKeyPreviewBackingView.setVisibility(isExtractViewShown() ? View.GONE : View.VISIBLE);
mKeyPreviewBackingView.setVisibility(isFullscreenMode() ? View.GONE : View.VISIBLE);
}
@Override