diff options
author | 2011-10-23 23:46:06 -0700 | |
---|---|---|
committer | 2011-10-23 23:46:06 -0700 | |
commit | 34da5b8cd98de24927959a64de70eae6f855003e (patch) | |
tree | aee2c80667f5c5f67bfcd6510eec92502fb5a67e /java/src | |
parent | d59f180c20811fad61014ef48c3b6c2599f425c4 (diff) | |
parent | b2b1eb5ca5a52648eea70920b9bd745b07d3ddfa (diff) | |
download | latinime-34da5b8cd98de24927959a64de70eae6f855003e.tar.gz latinime-34da5b8cd98de24927959a64de70eae6f855003e.tar.xz latinime-34da5b8cd98de24927959a64de70eae6f855003e.zip |
am b2b1eb5c: Call updateFulscreenMode before calling isFullscreenMode
* commit 'b2b1eb5ca5a52648eea70920b9bd745b07d3ddfa':
Call updateFulscreenMode before calling isFullscreenMode
Diffstat (limited to 'java/src')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index cedf3c4b6..866cdaa51 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -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. |