aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2012-07-05 13:05:17 +0900
committerJean Chalard <jchalard@google.com>2012-07-06 13:07:48 +0900
commit66a2e96fb442f6517beace6670dc956acd16da38 (patch)
tree1743f0ab8da625065fbcd02c1628e85a234feba5
parentb1dc8ad5f244337f91fcdac2a17078f5b9239cb7 (diff)
downloadlatinime-66a2e96fb442f6517beace6670dc956acd16da38.tar.gz
latinime-66a2e96fb442f6517beace6670dc956acd16da38.tar.xz
latinime-66a2e96fb442f6517beace6670dc956acd16da38.zip
Remove useless code (A61)
Just after this, clear() will be called, removing the suggestion strip from the screen. It will later be displayed again through onStartInputView, which will update its content. Change-Id: I15c23ad2adecab76b0791d7fc222d15b6533f3bd
-rw-r--r--java/src/com/android/inputmethod/latin/LatinIME.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java
index 357a2a0bd..78b7eaa44 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -1102,9 +1102,6 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
@Override
public boolean addWordToUserDictionary(String word) {
mUserDictionary.addWordToUserDictionary(word, 128);
- // Suggestion strip should be updated after the operation of adding word to the
- // user dictionary
- mHandler.postUpdateSuggestions();
return true;
}