aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2013-10-21 14:40:32 +0900
committerThe Android Automerger <android-build@google.com>2013-10-22 05:23:48 -0700
commit5b5ed3d6092ea539d8cfebd786c63ec0c784040b (patch)
tree96464cc51387d03b8c7131882ac50555cf29c7ef /java
parent79ccba757af6aa59dc42309172a37d96e6560da5 (diff)
downloadlatinime-5b5ed3d6092ea539d8cfebd786c63ec0c784040b.tar.gz
latinime-5b5ed3d6092ea539d8cfebd786c63ec0c784040b.tar.xz
latinime-5b5ed3d6092ea539d8cfebd786c63ec0c784040b.zip
Fix a bug where autocaps would jam auto-commit
Bug: 11311002 Change-Id: I62955e364c9ffc75322cf05fa3ad7985f1d09259
Diffstat (limited to 'java')
-rw-r--r--java/src/com/android/inputmethod/latin/Suggest.java2
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 72b9c417c..0a4c7a55d 100644
--- a/java/src/com/android/inputmethod/latin/Suggest.java
+++ b/java/src/com/android/inputmethod/latin/Suggest.java
@@ -479,7 +479,7 @@ public final class Suggest {
}
return new SuggestedWordInfo(sb.toString(), wordInfo.mScore, wordInfo.mKind,
wordInfo.mSourceDict, wordInfo.mIndexOfTouchPointOfSecondWord,
- SuggestedWordInfo.NOT_A_CONFIDENCE /* autoCommitFirstWordConfidence */);
+ wordInfo.mAutoCommitFirstWordConfidence);
}
public void close() {