Merge "Remove useless code (A61)"

This commit is contained in:
Jean Chalard 2012-07-06 00:15:57 -07:00 committed by Android (Google) Code Review
commit 362ea3cacb

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