aboutsummaryrefslogtreecommitdiffstats
path: root/java/src
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2012-07-05 12:44:13 +0900
committerJean Chalard <jchalard@google.com>2012-07-06 13:07:48 +0900
commit663dbfd1cc0c88fe65dd56946cbbbade455da9ac (patch)
treec45ae3e1d4e2261cfd324c50e31b0bb84a814ea0 /java/src
parent746e014eb54f0d6278b948868dff4863bfe85ad8 (diff)
downloadlatinime-663dbfd1cc0c88fe65dd56946cbbbade455da9ac.tar.gz
latinime-663dbfd1cc0c88fe65dd56946cbbbade455da9ac.tar.xz
latinime-663dbfd1cc0c88fe65dd56946cbbbade455da9ac.zip
Simplification & UI improvement (A59)
The responsivity is better like this. This does not seem to feel slow as the previous comment seemed to indicate. Also remove a stale comment. Change-Id: I4e7bf9fe28716e112db182e44b3fa88ee4526bb4
Diffstat (limited to 'java/src')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinIME.java8
1 files changed, 2 insertions, 6 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java
index 62c7bbda7..bbd38dd70 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -1863,12 +1863,8 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
Utils.Stats.onSeparator((char)Keyboard.CODE_SPACE, WordComposer.NOT_A_COORDINATE,
WordComposer.NOT_A_COORDINATE);
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.
- updateSuggestionsOrPredictions(true /* isPredictions */);
- // Updating the predictions right away may be slow and feel unresponsive on slower
- // terminals. On the other hand if we just postUpdateBigramPredictions() it will
- // take a noticeable delay to update them which may feel uneasy.
+ // If we're not showing the "Touch again to save", then show predictions.
+ mHandler.postUpdateBigramPredictions();
} else {
if (mIsUserDictionaryAvailable) {
mSuggestionsView.showAddToDictionaryHint(