-
Notifications
You must be signed in to change notification settings - Fork 3
feat: Android SR Do not send duplicate screens #304
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
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
...-android/lib/src/main/kotlin/com/launchdarkly/observability/replay/capture/TiledSignature.kt
Outdated
Show resolved
Hide resolved
...y-android/lib/src/main/kotlin/com/launchdarkly/observability/replay/capture/CaptureSource.kt
Show resolved
Hide resolved
agrognetti
requested changes
Dec 1, 2025
...-android/lib/src/main/kotlin/com/launchdarkly/observability/replay/capture/TiledSignature.kt
Show resolved
Hide resolved
...-android/lib/src/main/kotlin/com/launchdarkly/observability/replay/capture/TiledSignature.kt
Show resolved
Hide resolved
...-android/lib/src/main/kotlin/com/launchdarkly/observability/replay/capture/TiledSignature.kt
Outdated
Show resolved
Hide resolved
...-android/lib/src/main/kotlin/com/launchdarkly/observability/replay/capture/TiledSignature.kt
Outdated
Show resolved
Hide resolved
...-android/lib/src/main/kotlin/com/launchdarkly/observability/replay/capture/TiledSignature.kt
Outdated
Show resolved
Hide resolved
agrognetti
reviewed
Dec 2, 2025
...b/src/test/kotlin/com/launchdarkly/observability/replay/capture/TiledSignatureManagerTest.kt
Outdated
Show resolved
Hide resolved
...b/src/test/kotlin/com/launchdarkly/observability/replay/capture/TiledSignatureManagerTest.kt
Outdated
Show resolved
Hide resolved
...b/src/test/kotlin/com/launchdarkly/observability/replay/capture/TiledSignatureManagerTest.kt
Outdated
Show resolved
Hide resolved
...y-android/lib/src/main/kotlin/com/launchdarkly/observability/replay/capture/CaptureSource.kt
Show resolved
Hide resolved
agrognetti
approved these changes
Dec 2, 2025
Merged
abelonogov-ld
added a commit
that referenced
this pull request
Dec 2, 2025
* andrey/nonstandard-views: address feadback Attached dialog sample space use Canvas for certain types of windows consolidate in one view sample of adding floating views add floating button feat: Android SR Do not send duplicate screens (#304) # Conflicts: # e2e/android/app/src/main/java/com/example/androidobservability/masking/XMLMaskingActivity.kt # sdk/@launchdarkly/observability-android/lib/src/main/kotlin/com/launchdarkly/observability/replay/capture/CaptureSource.kt # sdk/@launchdarkly/observability-android/lib/src/main/kotlin/com/launchdarkly/observability/replay/capture/WindowEntry.kt # sdk/@launchdarkly/observability-android/lib/src/test/kotlin/com/launchdarkly/observability/replay/capture/TiledSignatureManagerTest.kt
abelonogov-ld
added a commit
that referenced
this pull request
Dec 4, 2025
* main: (85 commits) doc: Add using ldMask in readme. (#311) chore: release main (#312) feat: take transformed coordinates, which are more precise in animation (#309) chore: release main (#307) fix(SEC-7530): update react-server-dom-webpack to 19.0.1 (#310) feat: recursive mask collection (#308) feat: support non-standard windows added by WindowManager (#306) feat: Android SR Do not send duplicate screens (#304) test: Add UI and logic to evaluate boolean flags (#305) chore: release main (#303) feat: Android Dialog Capture (#302) chore: Update Android Test main screen (#301) chore: release main (#300) feat: XML Views Automasking options (#299) fix: missed imports (#298) chore: release main (#297) feat: Support ldMask() for Native and Compose views. (#295) chore: release main (#296) fix: tweaks Android InteractionDetector to delegate additional defaul… (#294) chore: release main (#293) ... # Conflicts: # e2e/react-router/src/ldclientLazy.tsx # e2e/react-router/src/routes/root.tsx
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.
Summary
Use tiled signature hashes to compare screens between each other.
How did you test this change?
Are there any deployment considerations?
Note
Adds tiled bitmap signature hashing to skip emitting duplicate screen captures, with unit tests and bitmap test utilities.
CaptureSourceto compute a 64px-tileTiledSignaturefor the base bitmap and skip emission when unchanged; recycles duplicate bitmaps.TiledSignatureManagerandTiledSignatureto compute per-tile bitmap hashes.TiledSignatureManagerTestcovering validity, equality, tile counts, and localized changes.testutil/BitmapMocks.ktfor mock bitmaps and overlay rectangles.Written by Cursor Bugbot for commit 9797c02. This will update automatically on new commits. Configure here.