aboutsummaryrefslogtreecommitdiffstats
path: root/java/src
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2012-03-05 11:57:36 +0900
committerJean Chalard <jchalard@google.com>2012-03-05 11:57:36 +0900
commit4e112d07821d34c1dedd21b086817be9fce2fd47 (patch)
tree81bfb544db2c2dabc77c494e4b266a43cceb024b /java/src
parenta04d2358c0118df1294145e3f2e4e6cbf03dad0b (diff)
downloadlatinime-4e112d07821d34c1dedd21b086817be9fce2fd47.tar.gz
latinime-4e112d07821d34c1dedd21b086817be9fce2fd47.tar.xz
latinime-4e112d07821d34c1dedd21b086817be9fce2fd47.zip
Replace a useless computation with a constant
This is provably always false Change-Id: I88d783fa59fec0b7a729558ba974a6a58c158645
Diffstat (limited to 'java/src')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinIME.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java
index debadd02a..b0a21ae03 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -980,7 +980,7 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
.setHasMinimalSuggestion(false);
// When in fullscreen mode, show completions generated by the application
final SuggestedWords words = builder.build();
- final boolean isAutoCorrection = Utils.willAutoCorrect(words);
+ final boolean isAutoCorrection = false;
setSuggestions(words, isAutoCorrection);
setAutoCorrectionIndicator(isAutoCorrection);
// TODO: is this the right thing to do? What should we auto-correct to in