aboutsummaryrefslogtreecommitdiffstats
path: root/java/src
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2011-05-12 02:51:24 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-05-12 02:51:24 -0700
commit039e6d76954f8709af34f089c2920436386db0db (patch)
tree2d64ffd56ef26c56895be19cbca23d3ca1c15aa2 /java/src
parent0ee6daa63ada83b4bd5efcd055a0eba03c707b65 (diff)
parent892b1fb18aa729aef8d75224f75562ea3908a903 (diff)
downloadlatinime-039e6d76954f8709af34f089c2920436386db0db.tar.gz
latinime-039e6d76954f8709af34f089c2920436386db0db.tar.xz
latinime-039e6d76954f8709af34f089c2920436386db0db.zip
Merge "Fix a bug where suggestions would not update in Froyo WebTextView"
Diffstat (limited to 'java/src')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinIME.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java
index 8b130aecd..e52c4a102 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -1602,7 +1602,10 @@ 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);
- // From there on onUpdateSelection() will fire so suggestions will be updated
+ // 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 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.