am b903f103
: Merge "Label logUnits after LatinImeOnEndBatchInput"
* commit 'b903f10393399921478114a7cf5e36ce6c692746': Label logUnits after LatinImeOnEndBatchInput
This commit is contained in:
commit
a2a2905033
1 changed files with 3 additions and 0 deletions
|
@ -1826,6 +1826,9 @@ public class ResearchLogger implements SharedPreferences.OnSharedPreferenceChang
|
||||||
public static void latinIME_onEndBatchInput(final CharSequence enteredText,
|
public static void latinIME_onEndBatchInput(final CharSequence enteredText,
|
||||||
final int enteredWordPos, final SuggestedWords suggestedWords) {
|
final int enteredWordPos, final SuggestedWords suggestedWords) {
|
||||||
final ResearchLogger researchLogger = getInstance();
|
final ResearchLogger researchLogger = getInstance();
|
||||||
|
if (!TextUtils.isEmpty(enteredText) && hasLetters(enteredText.toString())) {
|
||||||
|
researchLogger.mCurrentLogUnit.setWord(enteredText.toString());
|
||||||
|
}
|
||||||
researchLogger.enqueueEvent(LOGSTATEMENT_LATINIME_ONENDBATCHINPUT, enteredText,
|
researchLogger.enqueueEvent(LOGSTATEMENT_LATINIME_ONENDBATCHINPUT, enteredText,
|
||||||
enteredWordPos);
|
enteredWordPos);
|
||||||
researchLogger.mCurrentLogUnit.initializeSuggestions(suggestedWords);
|
researchLogger.mCurrentLogUnit.initializeSuggestions(suggestedWords);
|
||||||
|
|
Loading…
Reference in a new issue