Commit d5baf94
fix(gestures): Clear VelocityTracker on ACTION_DOWN to prevent stale velocity data
Matches GestureDetector behavior: if consecutive ACTION_DOWN events
arrive without an intervening ACTION_UP/ACTION_CANCEL, stale motion
data could bleed into fling detection.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 50ac45b commit d5baf94
File tree
1 file changed
+4
-0
lines changed- sentry-android-core/src/main/java/io/sentry/android/core/internal/gestures
1 file changed
+4
-0
lines changedLines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
53 | 57 | | |
54 | 58 | | |
55 | 59 | | |
| |||
0 commit comments