diff options
author | 2012-07-27 09:12:00 -0700 | |
---|---|---|
committer | 2012-07-27 09:12:01 -0700 | |
commit | 79d4c70b93577c73f7570db94fd92b9ecc1ee5cb (patch) | |
tree | 360955d172599b2972e28140436e3dc247f3da70 /java/src/com/android/inputmethod/latin/Suggest.java | |
parent | 78ee77ad08ca408b4a3e5abfd9b08bc108427605 (diff) | |
parent | e7c471a52f38c48cd38e412d88901bddb6f903a9 (diff) | |
download | latinime-79d4c70b93577c73f7570db94fd92b9ecc1ee5cb.tar.gz latinime-79d4c70b93577c73f7570db94fd92b9ecc1ee5cb.tar.xz latinime-79d4c70b93577c73f7570db94fd92b9ecc1ee5cb.zip |
Merge "Don't auto-correct when there are digits." into jb-mr1-dev
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 |