am b2b1eb5c: Call updateFulscreenMode before calling isFullscreenMode

* commit 'b2b1eb5ca5a52648eea70920b9bd745b07d3ddfa':
  Call updateFulscreenMode before calling isFullscreenMode
This commit is contained in:
Tadashi G. Takaoka 2011-10-23 23:46:06 -07:00 committed by Android Git Automerger
commit 34da5b8cd9

View file

@ -717,6 +717,9 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
voiceIme.resetVoiceStates(InputTypeCompatUtils.isPasswordInputType(inputType)
|| InputTypeCompatUtils.isVisiblePasswordInputType(inputType));
// The EditorInfo might have a flag that affects fullscreen mode.
// Note: This call should be done by InputMethodService?
updateFullscreenMode();
initializeInputAttributes(attribute);
inputView.closing();
@ -744,8 +747,6 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
if (mSuggestionsView != null)
mSuggestionsView.clear();
// The EditorInfo might have a flag that affects fullscreen mode.
updateFullscreenMode();
setSuggestionStripShownInternal(
isSuggestionsStripVisible(), /* needsInputViewShown */ false);
// Delay updating suggestions because keyboard input view may not be shown at this point.