am 7a750ca5: Fix PointerTracker debug output to reflect new KeyDetector

* commit '7a750ca50d0ebe6bb5f395479ae2bef355c0a5dd':
  Fix PointerTracker debug output to reflect new KeyDetector
main
Tadashi G. Takaoka 2014-06-03 05:42:12 +00:00 committed by Android Git Automerger
commit 0a29a6b4d6
1 changed files with 1 additions and 1 deletions

View File

@ -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) {