Reinstate a call to UsabilityStudyLogUtils#writeChar()

The usability study mode has been broken.

bug: 10251399
Change-Id: Iaa301241f102f412fa073f0d8b897a4c8b265a9c
main
Ken Wakasa 2013-08-09 19:32:02 +09:00
parent 3cd72a35e0
commit cfcf6660fc
1 changed files with 4 additions and 0 deletions

View File

@ -19,6 +19,7 @@ package com.android.inputmethod.latin.utils;
import android.inputmethodservice.InputMethodService;
import com.android.inputmethod.annotations.UsedForTesting;
import com.android.inputmethod.latin.LatinImeLogger;
import com.android.inputmethod.latin.settings.Settings;
public final class UserLogRingCharBuffer {
@ -64,6 +65,9 @@ public final class UserLogRingCharBuffer {
if (!mEnabled) {
return;
}
if (LatinImeLogger.sUsabilityStudy) {
UsabilityStudyLogUtils.getInstance().writeChar(c, x, y);
}
mCharBuf[mEnd] = c;
mXBuf[mEnd] = x;
mYBuf[mEnd] = y;