Commit 23b2680
fix(replay): text layouts with center/end alignment return incorrect masking bounding box (#5218)
* Remove fill workaround, shortcut calculations if there's only one line of text
* changelog
* Revert "Remove fill workaround, shortcut calculations if there's only one line of text"
This reverts commit cfdcadc.
* Work around erroneous paragraph return values
* Cover some more edge cases
* Format code
* Trigger Build
* fix dependencies
* Add snapshot tests for non-ellipsized multi-line text masking
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Sentry Github Bot <bot+github-bot@sentry.io>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent ae6907d commit 23b2680
File tree
17 files changed
+460
-73
lines changed- sentry-android-core
- src/test
- java/io/sentry/android/core
- resources/snapshots/ScreenshotEventProcessorTest
- sentry-android-replay/src/main/java/io/sentry/android/replay
- util
- viewhierarchy
17 files changed
+460
-73
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
5 | 9 | | |
6 | 10 | | |
7 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
108 | 109 | | |
109 | 110 | | |
110 | 111 | | |
111 | | - | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
112 | 117 | | |
113 | 118 | | |
114 | 119 | | |
0 commit comments