summaryrefslogtreecommitdiff
path: root/src/com/android/launcher3/testing/TestLogging.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/launcher3/testing/TestLogging.java')
-rw-r--r--src/com/android/launcher3/testing/TestLogging.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher3/testing/TestLogging.java b/src/com/android/launcher3/testing/TestLogging.java
index 70691f82de..60d0e95c90 100644
--- a/src/com/android/launcher3/testing/TestLogging.java
+++ b/src/com/android/launcher3/testing/TestLogging.java
@@ -76,7 +76,7 @@ public final class TestLogging {
// be more useful.
// That's why we pass false as the value for the 'reportToTapl' parameter.
recordEventSlow(sequence, message + ": " + event, false);
- registerEventNotFromTest(event);
+ if (action != MotionEvent.ACTION_CANCEL) registerEventNotFromTest(event);
}
}