am 0c0ab2b4: Merge "Reorder ResearchLogger call"
* commit '0c0ab2b4d9303274c26ef70f7228f2d54e2d59f5': Reorder ResearchLogger callmain
commit
6c522b53f0
|
@ -1143,11 +1143,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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue