diff options
author | 2014-11-17 18:26:15 +0900 | |
---|---|---|
committer | 2014-11-20 13:57:01 +0900 | |
commit | a2cb2f36a6b51f73602bd7e917c418657da0c973 (patch) | |
tree | b0a035c7d26a84e3ac29e0f315863aedf1e663be /java/src/com/android/inputmethod/latin/LatinIME.java | |
parent | 7cca01aa1d5aa1c8b8f10117fd2d83a49c82bea5 (diff) | |
download | latinime-a2cb2f36a6b51f73602bd7e917c418657da0c973.tar.gz latinime-a2cb2f36a6b51f73602bd7e917c418657da0c973.tar.xz latinime-a2cb2f36a6b51f73602bd7e917c418657da0c973.zip |
Make the typed word a SuggestedWordInfo
That allows to carry the language information in an
accurate manner.
Bug: 18063142
Change-Id: I0bca8981372ae10648274095b18b26a3686b762b
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 2 |
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 db67e3412..6411010e6 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -1638,7 +1638,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen // Cache the auto-correction in accessibility code so we can speak it if the user // touches a key that will insert it. AccessibilityUtils.getInstance().setAutoCorrection(suggestedWords, - suggestedWords.mTypedWord); + suggestedWords.mTypedWordInfo.mWord); } // Called from {@link SuggestionStripView} through the {@link SuggestionStripView#Listener} |