aboutsummaryrefslogtreecommitdiffstats
path: root/java/src
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2011-05-13 19:33:33 +0900
committerJean Chalard <jchalard@google.com>2011-05-13 19:33:33 +0900
commit777118a40a363ccab69a00016d3156066513cb78 (patch)
tree454f35120822fd18874dfc82ad2a60ebe17146e3 /java/src
parentd157834345f2817cb80db3fdb7e6f22efa92f70c (diff)
downloadlatinime-777118a40a363ccab69a00016d3156066513cb78.tar.gz
latinime-777118a40a363ccab69a00016d3156066513cb78.tar.xz
latinime-777118a40a363ccab69a00016d3156066513cb78.zip
Fix a bug with dictionary add interface.
Fix a bug where the "Touch again to save" message would not stay on screen, following a wrong fix for a problem where Gingerbread- would not display punctuation in the suggestion strip in WebTextView. Change-Id: I3556f83f867240ed7f16753450e6c975853208e5
Diffstat (limited to 'java/src')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinIME.java7
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();