[Rlog81b] Log more data with handleSeparator
Change-Id: I4b2ebaa2398ac2f669e1e009e00842e55979e866main
parent
e6a9655a03
commit
80375649d3
|
@ -1861,6 +1861,7 @@ public final class LatinIME extends InputMethodService implements KeyboardAction
|
||||||
final int spaceState) {
|
final int spaceState) {
|
||||||
if (ProductionFlag.IS_EXPERIMENTAL) {
|
if (ProductionFlag.IS_EXPERIMENTAL) {
|
||||||
ResearchLogger.recordTimeForLogUnitSplit();
|
ResearchLogger.recordTimeForLogUnitSplit();
|
||||||
|
ResearchLogger.latinIME_handleSeparator(primaryCode, mWordComposer.isComposingWord());
|
||||||
}
|
}
|
||||||
boolean didAutoCorrect = false;
|
boolean didAutoCorrect = false;
|
||||||
// Handle separator
|
// Handle separator
|
||||||
|
|
|
@ -1728,6 +1728,22 @@ public class ResearchLogger implements SharedPreferences.OnSharedPreferenceChang
|
||||||
researchLogger.mSavedDownEventTime = Long.MAX_VALUE;
|
researchLogger.mSavedDownEventTime = Long.MAX_VALUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Log a call to LatinIME.handleSeparator()
|
||||||
|
*
|
||||||
|
* SystemResponse: The system is inserting a separator character, possibly performing auto-
|
||||||
|
* correction or other actions appropriate at the end of a word.
|
||||||
|
*/
|
||||||
|
private static final LogStatement LOGSTATEMENT_LATINIME_HANDLESEPARATOR =
|
||||||
|
new LogStatement("LatinIMEHandleSeparator", false, false, "primaryCode",
|
||||||
|
"isComposingWord");
|
||||||
|
public static void latinIME_handleSeparator(final int primaryCode,
|
||||||
|
final boolean isComposingWord) {
|
||||||
|
final ResearchLogger researchLogger = getInstance();
|
||||||
|
researchLogger.enqueueEvent(LOGSTATEMENT_LATINIME_HANDLESEPARATOR, primaryCode,
|
||||||
|
isComposingWord);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Log statistics.
|
* Log statistics.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue