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:
parent
b1dc8ad5f2
commit
66a2e96fb4
1 changed files with 0 additions and 3 deletions
|
@ -1102,9 +1102,6 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
|
||||||
@Override
|
@Override
|
||||||
public boolean addWordToUserDictionary(String word) {
|
public boolean addWordToUserDictionary(String word) {
|
||||||
mUserDictionary.addWordToUserDictionary(word, 128);
|
mUserDictionary.addWordToUserDictionary(word, 128);
|
||||||
// Suggestion strip should be updated after the operation of adding word to the
|
|
||||||
// user dictionary
|
|
||||||
mHandler.postUpdateSuggestions();
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue