diff options
author | 2011-05-13 03:55:04 -0700 | |
---|---|---|
committer | 2011-05-13 03:55:04 -0700 | |
commit | 17d6348f3f19e3e642edbdd78c1881394b0a5e3e (patch) | |
tree | db7bce5293dcac7786ed840118369dce1ac3c0f4 /java/src/com/android/inputmethod/latin/LatinIME.java | |
parent | 950def1df3f272a8a9f2fad8b207ee4858883b20 (diff) | |
parent | 777118a40a363ccab69a00016d3156066513cb78 (diff) | |
download | latinime-17d6348f3f19e3e642edbdd78c1881394b0a5e3e.tar.gz latinime-17d6348f3f19e3e642edbdd78c1881394b0a5e3e.tar.xz latinime-17d6348f3f19e3e642edbdd78c1881394b0a5e3e.zip |
Merge "Fix a bug with dictionary add interface."
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index 2d4d7b989..126fe0c18 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -1603,11 +1603,8 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar // TextEntryState.State.PICKED_SUGGESTION state. TextEntryState.typedCharacter((char) Keyboard.CODE_SPACE, true, WordComposer.NOT_A_COORDINATE, WordComposer.NOT_A_COORDINATE); - // On Honeycomb+, onUpdateSelection() will fire, but in Gingerbread- in WebTextView - // only it does not, for some reason. Force update suggestions so that it works - // in Gingerbread- in WebTextView too. - mHandler.postUpdateSuggestions(); - } else if (!showingAddToDictionaryHint) { + } + if (!showingAddToDictionaryHint) { // If we're not showing the "Touch again to save", then show corrections again. // In case the cursor position doesn't change, make sure we show the suggestions again. clearSuggestions(); |