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
This commit is contained in:
Jean Chalard 2012-07-05 13:05:17 +09:00
parent b1dc8ad5f2
commit 66a2e96fb4

View file

@ -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;
}