Replace a useless computation with a constant
This is provably always false Change-Id: I88d783fa59fec0b7a729558ba974a6a58c158645
This commit is contained in:
parent
a04d2358c0
commit
4e112d0782
1 changed files with 1 additions and 1 deletions
|
@ -980,7 +980,7 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
|
||||||
.setHasMinimalSuggestion(false);
|
.setHasMinimalSuggestion(false);
|
||||||
// When in fullscreen mode, show completions generated by the application
|
// When in fullscreen mode, show completions generated by the application
|
||||||
final SuggestedWords words = builder.build();
|
final SuggestedWords words = builder.build();
|
||||||
final boolean isAutoCorrection = Utils.willAutoCorrect(words);
|
final boolean isAutoCorrection = false;
|
||||||
setSuggestions(words, isAutoCorrection);
|
setSuggestions(words, isAutoCorrection);
|
||||||
setAutoCorrectionIndicator(isAutoCorrection);
|
setAutoCorrectionIndicator(isAutoCorrection);
|
||||||
// TODO: is this the right thing to do? What should we auto-correct to in
|
// TODO: is this the right thing to do? What should we auto-correct to in
|
||||||
|
|
Loading…
Reference in a new issue