File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
sentry-android-replay/src/main/java/io/sentry/android/replay Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -307,15 +307,13 @@ public class ReplayIntegration(
307
307
scopes?.configureScope { screen = it.screen?.substringAfterLast(' .' ) }
308
308
captureStrategy?.onScreenshotRecorded(bitmap) { frameTimeStamp ->
309
309
addFrame(bitmap, frameTimeStamp, screen)
310
- checkCanRecord()
311
310
}
311
+ checkCanRecord()
312
312
}
313
313
314
314
override fun onScreenshotRecorded (screenshot : File , frameTimestamp : Long ) {
315
- captureStrategy?.onScreenshotRecorded { _ ->
316
- addFrame(screenshot, frameTimestamp)
317
- checkCanRecord()
318
- }
315
+ captureStrategy?.onScreenshotRecorded { _ -> addFrame(screenshot, frameTimestamp) }
316
+ checkCanRecord()
319
317
}
320
318
321
319
override fun close () {
You can’t perform that action at this time.
0 commit comments