diff options
author | 2012-07-27 09:15:57 -0700 | |
---|---|---|
committer | 2012-07-27 09:15:57 -0700 | |
commit | 784c84910ddebbd6439062137178767a80e72d3d (patch) | |
tree | 03d63251363acbc575a58fd5ffc7fa8ba538e780 /java/src/com/android/inputmethod/latin/Suggest.java | |
parent | 8256162ccbb23c3253ce687b3a0713d71f483d8c (diff) | |
parent | 79d4c70b93577c73f7570db94fd92b9ecc1ee5cb (diff) | |
download | latinime-784c84910ddebbd6439062137178767a80e72d3d.tar.gz latinime-784c84910ddebbd6439062137178767a80e72d3d.tar.xz latinime-784c84910ddebbd6439062137178767a80e72d3d.zip |
am 79d4c70b: Merge "Don\'t auto-correct when there are digits." into jb-mr1-dev
* commit '79d4c70b93577c73f7570db94fd92b9ecc1ee5cb':
Don't auto-correct when there are digits.
Diffstat (limited to 'java/src/com/android/inputmethod/latin/Suggest.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/Suggest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/Suggest.java b/java/src/com/android/inputmethod/latin/Suggest.java index 3e3cf76f1..5e2a04124 100644 --- a/java/src/com/android/inputmethod/latin/Suggest.java +++ b/java/src/com/android/inputmethod/latin/Suggest.java @@ -233,7 +233,7 @@ public class Suggest { // the current settings. It may also be useful to know, when the setting is off, whether // the word *would* have been auto-corrected. if (!isCorrectionEnabled || !allowsToBeAutoCorrected || !wordComposer.isComposingWord() - || suggestionsSet.isEmpty() + || suggestionsSet.isEmpty() || wordComposer.hasDigits() || wordComposer.isMostlyCaps() || wordComposer.isResumed() || !hasMainDictionary()) { // If we don't have a main dictionary, we never want to auto-correct. The reason for |