am cfcf6660: Reinstate a call to UsabilityStudyLogUtils#writeChar()

* commit 'cfcf6660fc369fefd4028451334a9c2eda9bc4e5':
  Reinstate a call to UsabilityStudyLogUtils#writeChar()
This commit is contained in:
Ken Wakasa 2013-08-09 04:30:46 -07:00 committed by Android Git Automerger
commit cf575f8937

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;