mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Avoid duplicate MotionEvents
Change-Id: I9c3b352b738698f262f254e581bde34b060e258f
This commit is contained in:
parent
3970352ea9
commit
1bf47582a0
@ -1189,10 +1189,12 @@ public final class MainKeyboardView extends KeyboardView implements PointerTrack
|
||||
if (ENABLE_USABILITY_STUDY_LOG) {
|
||||
writeUsabilityStudyLog(me, action, eventTime, i, pointerId, px, py);
|
||||
}
|
||||
if (ProductionFlag.USES_DEVELOPMENT_ONLY_DIAGNOSTICS) {
|
||||
ResearchLogger.mainKeyboardView_processMotionEvent(
|
||||
me, action, eventTime, i, pointerId, px, py);
|
||||
}
|
||||
// TODO: This seems to be no longer necessary, and confusing because it leads to
|
||||
// duplicate MotionEvents being recorded.
|
||||
// if (ProductionFlag.USES_DEVELOPMENT_ONLY_DIAGNOSTICS) {
|
||||
// ResearchLogger.mainKeyboardView_processMotionEvent(
|
||||
// me, action, eventTime, i, pointerId, px, py);
|
||||
// }
|
||||
}
|
||||
} else {
|
||||
final PointerTracker tracker = PointerTracker.getPointerTracker(id, this);
|
||||
|
Loading…
Reference in New Issue
Block a user