Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7a750ca5 authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka
Browse files

Fix PointerTracker debug output to reflect new KeyDetector

Change-Id: I913ec290ddfd0ae4cc6e600ba95b7442167f0989
parent a32803ce
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -676,10 +676,10 @@ public final class PointerTracker implements PointerTrackerQueue.Element,

    private void onDownEvent(final int x, final int y, final long eventTime,
            final KeyDetector keyDetector) {
        setKeyDetectorInner(keyDetector);
        if (DEBUG_EVENT) {
            printTouchEvent("onDownEvent:", x, y, eventTime);
        }
        setKeyDetectorInner(keyDetector);
        // Naive up-to-down noise filter.
        final long deltaT = eventTime - mUpTime;
        if (deltaT < sParams.mTouchNoiseThresholdTime) {