fix: Touch move event buffering using wrong clock and mismatched constants#391
Merged
abelonogov-ld merged 4 commits intomainfrom Feb 24, 2026
Merged
fix: Touch move event buffering using wrong clock and mismatched constants#391abelonogov-ld merged 4 commits intomainfrom
abelonogov-ld merged 4 commits intomainfrom
Conversation
(cherry picked from commit 49e4fb9)
Vadman97
approved these changes
Feb 24, 2026
Merged
Vadman97
pushed a commit
that referenced
this pull request
Feb 24, 2026
🤖 I have created a release *beep* *boop* --- <details><summary>launchdarkly-observability-android: 0.26.1</summary> ## [0.26.1](launchdarkly-observability-android-0.26.0...launchdarkly-observability-android-0.26.1) (2026-02-24) ### Bug Fixes * Fix event sorting in session replay export ([#392](#392)) ([5e11cf7](5e11cf7)) * Touch move event buffering using wrong clock and mismatched constants ([#391](#391)) ([0a6582c](0a6582c)) </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
abelonogov-ld
added a commit
that referenced
this pull request
Feb 27, 2026
* main: chore: release main (#396) fix: Android span e2e tests (#397) fix: improve network response capture (#379) feat: initial upload of mobile-dotnet (#393) chore: release main (#394) fix: Fix event sorting in session replay export (#392) fix: Touch move event buffering using wrong clock and mismatched constants (#391)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Touch move events were ending up in the wrong payload due to two issues in
InteractionMoveGrouper:System.currentTimeMillis()with the touch event's owntimestampparameter, keeping the emit period check on the same monotonic clock as all other time comparisons in the class.Note
Medium Risk
Changes touch interaction batching thresholds and timing, which can alter replay payload volume/shape and affect downstream ingestion; also disables multiple span-related E2E tests, reducing regression coverage in a telemetry-critical area.
Overview
Fixes touch-move replay buffering in
InteractionMoveGrouperby using the MotionEvent-providedtimestamp(instead ofSystem.currentTimeMillis()) for emit-period checks so filtering and batching operate on a consistent clock.Aligns move-grouping constants with iOS (distance/time thresholds and emit period) and updates unit tests to reflect the new thresholds and grouping behavior. Several Android E2E tests asserting span/error export and span sampling are marked
@Ignore, effectively removing those checks from CI for now.Written by Cursor Bugbot for commit 463d050. This will update automatically on new commits. Configure here.