am eb520c56: am 549e295d: Fix updateFullscreenMode of LatinIME

* commit 'eb520c568365d690da4347c787a8c44708b52e50':
  Fix updateFullscreenMode of LatinIME
main
Tadashi G. Takaoka 2011-11-15 18:30:09 -08:00 committed by Android Git Automerger
commit b2e6370aa1
1 changed files with 3 additions and 3 deletions

View File

@ -747,7 +747,7 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
if (mSuggest != null && mSettingsValues.mAutoCorrectEnabled) { if (mSuggest != null && mSettingsValues.mAutoCorrectEnabled) {
mSuggest.setAutoCorrectionThreshold(mSettingsValues.mAutoCorrectionThreshold); mSuggest.setAutoCorrectionThreshold(mSettingsValues.mAutoCorrectionThreshold);
} }
mVoiceProxy.loadSettings(attribute, mPrefs); mVoiceProxy.loadSettings(attribute, mPrefs);
// This will work only when the subtype is not supported. // This will work only when the subtype is not supported.
LanguageSwitcherProxy.loadSettings(); LanguageSwitcherProxy.loadSettings();
@ -1077,9 +1077,9 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
super.updateFullscreenMode(); super.updateFullscreenMode();
if (mKeyPreviewBackingView == null) return; 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. // 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 @Override