Repository navigation
Commit 6ed91a1
fix(replay): Avoid Kotlin stdlib classes replay didn't use before
The function references and generateSequence pulled in
kotlin.jvm.internal.FunctionReferenceImpl and kotlin.sequences.SequencesKt,
which R8 reports as missing in the SDK size app. A lambda and a plain loop
keep replay's Kotlin stdlib footprint as it was.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 2d151a4 commit 6ed91a1
2 files changed
Lines changed: 9 additions & 4 deletions
File tree
- sentry-android-replay/src/main/java/io/sentry/android/replay/capture
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
261 | 261 | | |
262 | 262 | | |
263 | 263 | | |
264 | | - | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
265 | 270 | | |
266 | 271 | | |
267 | 272 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
| 195 | + | |
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
| |||
315 | 315 | | |
316 | 316 | | |
317 | 317 | | |
318 | | - | |
| 318 | + | |
319 | 319 | | |
320 | 320 | | |
321 | 321 | | |
| |||
0 commit comments