Merge "Avoid duplicate MotionEvents"
This commit is contained in:
commit
a19133011a
1 changed files with 6 additions and 4 deletions
|
@ -1189,10 +1189,12 @@ public final class MainKeyboardView extends KeyboardView implements PointerTrack
|
||||||
if (ENABLE_USABILITY_STUDY_LOG) {
|
if (ENABLE_USABILITY_STUDY_LOG) {
|
||||||
writeUsabilityStudyLog(me, action, eventTime, i, pointerId, px, py);
|
writeUsabilityStudyLog(me, action, eventTime, i, pointerId, px, py);
|
||||||
}
|
}
|
||||||
if (ProductionFlag.USES_DEVELOPMENT_ONLY_DIAGNOSTICS) {
|
// TODO: This seems to be no longer necessary, and confusing because it leads to
|
||||||
ResearchLogger.mainKeyboardView_processMotionEvent(
|
// duplicate MotionEvents being recorded.
|
||||||
me, action, eventTime, i, pointerId, px, py);
|
// if (ProductionFlag.USES_DEVELOPMENT_ONLY_DIAGNOSTICS) {
|
||||||
}
|
// ResearchLogger.mainKeyboardView_processMotionEvent(
|
||||||
|
// me, action, eventTime, i, pointerId, px, py);
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
final PointerTracker tracker = PointerTracker.getPointerTracker(id, this);
|
final PointerTracker tracker = PointerTracker.getPointerTracker(id, this);
|
||||||
|
|
Loading…
Reference in a new issue