diff options
author | 2013-01-24 16:14:09 -0800 | |
---|---|---|
committer | 2013-01-24 16:14:09 -0800 | |
commit | 76cf1c9cd78af63355d6e15b29eff7a5cb35f73d (patch) | |
tree | 4a35b6d22d71d4c9ff11e5c400b9a98dbc44f49a /java/src/com/android/inputmethod/latin/LatinIME.java | |
parent | 67734a0e4054eb796e889c39f30998c3bfd9b75a (diff) | |
parent | edb5c4638b139d6908ceea724120e5a24b21c249 (diff) | |
download | latinime-76cf1c9cd78af63355d6e15b29eff7a5cb35f73d.tar.gz latinime-76cf1c9cd78af63355d6e15b29eff7a5cb35f73d.tar.xz latinime-76cf1c9cd78af63355d6e15b29eff7a5cb35f73d.zip |
am edb5c463: Merge "[Rlog81a] Determine correction type of words"
# Via Android (Google) Code Review (1) and Kurt Partridge (1)
* commit 'edb5c4638b139d6908ceea724120e5a24b21c249':
[Rlog81a] Determine correction type of words
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index fc9953ac0..70eb6e657 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -1647,7 +1647,7 @@ public final class LatinIME extends InputMethodService implements KeyboardAction mExpectingUpdateSelection = true; mConnection.endBatchEdit(); if (ProductionFlag.IS_EXPERIMENTAL) { - ResearchLogger.latinIME_onEndBatchInput(batchInputText, 0); + ResearchLogger.latinIME_onEndBatchInput(batchInputText, 0, suggestedWords); } // Space state must be updated before calling updateShiftState mSpaceState = SPACE_STATE_PHANTOM; @@ -2123,8 +2123,9 @@ public final class LatinIME extends InputMethodService implements KeyboardAction Stats.onAutoCorrection(typedWord, autoCorrection, separatorString, mWordComposer); } if (ProductionFlag.IS_EXPERIMENTAL) { + final SuggestedWords suggestedWords = mSuggestionStripView.getSuggestions(); ResearchLogger.latinIme_commitCurrentAutoCorrection(typedWord, autoCorrection, - separatorString, mWordComposer.isBatchMode()); + separatorString, mWordComposer.isBatchMode(), suggestedWords); } mExpectingUpdateSelection = true; commitChosenWord(autoCorrection, LastComposedWord.COMMIT_TYPE_DECIDED_WORD, |