aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinIME.java
diff options
context:
space:
mode:
authorKen Wakasa <kwakasa@google.com>2012-11-06 14:27:24 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2012-11-06 14:27:24 -0800
commit9cc22c45ec04f3b1772631e1ef18103dc55c2a0b (patch)
treed47d1f3479b12d440cbe257838b8b3be638685b3 /java/src/com/android/inputmethod/latin/LatinIME.java
parent202c3a5f32e20939a3dff24b7e2f047e47b29e17 (diff)
parent5d2556b93286f5f1d7d829b586b84a8b7ae55743 (diff)
downloadlatinime-9cc22c45ec04f3b1772631e1ef18103dc55c2a0b.tar.gz
latinime-9cc22c45ec04f3b1772631e1ef18103dc55c2a0b.tar.xz
latinime-9cc22c45ec04f3b1772631e1ef18103dc55c2a0b.zip
am 5d2556b9: Reset the IME if requested by the app.
* commit '5d2556b93286f5f1d7d829b586b84a8b7ae55743': 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.java4
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);