aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinIME.java
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2010-12-13 01:01:54 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-12-13 01:01:54 -0800
commita893ac38f547cf835ffe59dbd588fe497bd063ff (patch)
tree1fc234274ec51a4a6d3d0fd31e388ddfdf68a2aa /java/src/com/android/inputmethod/latin/LatinIME.java
parent4e8dc88407a5396227d9bbd4d8e5117c96a99c4b (diff)
parent4700a6f2b0feb3bd036dc516383449342d05fa9a (diff)
downloadlatinime-a893ac38f547cf835ffe59dbd588fe497bd063ff.tar.gz
latinime-a893ac38f547cf835ffe59dbd588fe497bd063ff.tar.xz
latinime-a893ac38f547cf835ffe59dbd588fe497bd063ff.zip
Merge "Tune padding of candidate word"
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinIME.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java
index 5a1232064..243306a35 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -603,7 +603,8 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
setCandidatesViewShownInternal(isCandidateStripVisible(),
false /* needsInputViewShown */ );
- updateSuggestions();
+ // Delay updating suggestions because keyboard input view may not be shown at this point.
+ mHandler.postUpdateSuggestions();
// If the dictionary is not big enough, don't auto correct
mHasDictionary = mSuggest.hasMainDictionary();