diff options
author | 2012-11-08 06:12:57 -0800 | |
---|---|---|
committer | 2012-11-08 06:12:57 -0800 | |
commit | 4eef51016adc4e103fa65d944a0ab31527ddced8 (patch) | |
tree | 45c069fafd577f82b554478ad9a3d49204020aff /java/src/com/android/inputmethod/latin/LatinIME.java | |
parent | ef51f33e544577c8fbc802a5623bef87d97473b8 (diff) | |
parent | aa5d6fe05ce45e36b732a3abc849508cd8279257 (diff) | |
download | latinime-4eef51016adc4e103fa65d944a0ab31527ddced8.tar.gz latinime-4eef51016adc4e103fa65d944a0ab31527ddced8.tar.xz latinime-4eef51016adc4e103fa65d944a0ab31527ddced8.zip |
am aa5d6fe0: am 9cc22c45: am 5d2556b9: Reset the IME if requested by the app.
* commit 'aa5d6fe05ce45e36b732a3abc849508cd8279257':
Reset the IME if requested by the app.
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index 8ac0cd4ca..cf7eea70b 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -732,6 +732,10 @@ public final class LatinIME extends InputMethodService implements KeyboardAction } switcher.loadKeyboard(editorInfo, mCurrentSettings); + } else if (restarting) { + // TODO: Come up with a more comprehensive way to reset the keyboard layout when + // a keyboard layout set doesn't get reloaded in this method. + switcher.resetKeyboardStateToAlphabet(); } setSuggestionStripShownInternal( isSuggestionsStripVisible(), /* needsInputViewShown */ false); |