diff options
author | 2013-03-25 17:17:48 -0700 | |
---|---|---|
committer | 2013-03-26 14:37:57 -0700 | |
commit | cb25e1fe3740122fd52921c41711f4204ad257fd (patch) | |
tree | 400680dd96ff8d4138d9e2ea58fcf05027eb62d3 /java/src | |
parent | 73d00e68d8fcd64ce28fc5bed6881100a0fead9b (diff) | |
download | latinime-cb25e1fe3740122fd52921c41711f4204ad257fd.tar.gz latinime-cb25e1fe3740122fd52921c41711f4204ad257fd.tar.xz latinime-cb25e1fe3740122fd52921c41711f4204ad257fd.zip |
Reorder ResearchLogger call
Previously, ResearchLogger#onWordFinished() was called with an outdated parameter value for
isBatchMode, causing it to report false even for gestures. This changes fixes this problem.
Change-Id: Ifcabee236ba5fe20376ad882155d3f3142cd7613
Diffstat (limited to 'java/src')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index 7bd09811c..0fc7a6abe 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -1145,11 +1145,11 @@ public final class LatinIME extends InputMethodService implements KeyboardAction if (!mWordComposer.isComposingWord()) return; final String typedWord = mWordComposer.getTypedWord(); if (typedWord.length() > 0) { - commitChosenWord(typedWord, LastComposedWord.COMMIT_TYPE_USER_TYPED_WORD, - separatorString); if (ProductionFlag.USES_DEVELOPMENT_ONLY_DIAGNOSTICS) { ResearchLogger.getInstance().onWordFinished(typedWord, mWordComposer.isBatchMode()); } + commitChosenWord(typedWord, LastComposedWord.COMMIT_TYPE_USER_TYPED_WORD, + separatorString); } } |