mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Call updateFulscreenMode before calling isFullscreenMode
Bug: 5495739 Change-Id: I25eab59833a8b95a0b75893d37a45e67504fa7d0
This commit is contained in:
parent
53a1e7ad4a
commit
b2b1eb5ca5
@ -717,6 +717,9 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
|
|||||||
voiceIme.resetVoiceStates(InputTypeCompatUtils.isPasswordInputType(inputType)
|
voiceIme.resetVoiceStates(InputTypeCompatUtils.isPasswordInputType(inputType)
|
||||||
|| InputTypeCompatUtils.isVisiblePasswordInputType(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);
|
initializeInputAttributes(attribute);
|
||||||
|
|
||||||
inputView.closing();
|
inputView.closing();
|
||||||
@ -744,8 +747,6 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
|
|||||||
|
|
||||||
if (mSuggestionsView != null)
|
if (mSuggestionsView != null)
|
||||||
mSuggestionsView.clear();
|
mSuggestionsView.clear();
|
||||||
// The EditorInfo might have a flag that affects fullscreen mode.
|
|
||||||
updateFullscreenMode();
|
|
||||||
setSuggestionStripShownInternal(
|
setSuggestionStripShownInternal(
|
||||||
isSuggestionsStripVisible(), /* needsInputViewShown */ false);
|
isSuggestionsStripVisible(), /* needsInputViewShown */ false);
|
||||||
// Delay updating suggestions because keyboard input view may not be shown at this point.
|
// Delay updating suggestions because keyboard input view may not be shown at this point.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user