diff options
author | 2011-01-27 23:42:28 -0800 | |
---|---|---|
committer | 2011-01-27 23:42:28 -0800 | |
commit | 69a15051a07322e4b7deaecf92b6f01c316ef50c (patch) | |
tree | 17a6c3068db9931747187e9e15a93f85674f7364 /java/src/com/android/inputmethod/latin | |
parent | 878d0c11dc8e749b96493d9ad08de4f65d5f2ed4 (diff) | |
parent | 294d1c08f4ee87710237fffc6866a7ab11153aaf (diff) | |
download | latinime-69a15051a07322e4b7deaecf92b6f01c316ef50c.tar.gz latinime-69a15051a07322e4b7deaecf92b6f01c316ef50c.tar.xz latinime-69a15051a07322e4b7deaecf92b6f01c316ef50c.zip |
am 294d1c08: am 513f1b04: Merge "Add hack to translate sudden move to up/down events" into honeycomb
* commit '294d1c08f4ee87710237fffc6866a7ab11153aaf':
Add hack to translate sudden move to up/down events
Diffstat (limited to 'java/src/com/android/inputmethod/latin')
-rw-r--r-- | java/src/com/android/inputmethod/latin/Utils.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/latin/Utils.java b/java/src/com/android/inputmethod/latin/Utils.java index e6ec48cd2..e980d3a30 100644 --- a/java/src/com/android/inputmethod/latin/Utils.java +++ b/java/src/com/android/inputmethod/latin/Utils.java @@ -128,8 +128,11 @@ public class Utils { + ", " + maxEditDistanceOfNativeDictionary); } if (distance > maxEditDistanceOfNativeDictionary) { - Log.w(TAG, "(Error) The edit distance of this correction exceeds limit. " - + "Turning off auto-correction."); + if (DBG) { + Log.d(TAG, "Safety net: before = " + typedWord + ", after = " + candidateWord); + Log.w(TAG, "(Error) The edit distance of this correction exceeds limit. " + + "Turning off auto-correction."); + } return true; } else { return false; |