Merge "Replace a useless computation with a constant"

main
Jean Chalard 2012-03-04 19:35:11 -08:00 committed by Android (Google) Code Review
commit 428178aca6
1 changed files with 1 additions and 1 deletions

View File

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