Skip to content

Commit 26d9984

Browse files
romtsnclaude
andcommitted
ref(replay): Inline captureSurfaceViewsEnabled local
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 347643d commit 26d9984

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

sentry-android-replay/src/main/java/io/sentry/android/replay/screenshot/PixelCopyStrategy.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,8 @@ internal class PixelCopyStrategy(
9898

9999
// TODO: disableAllMasking here and dont traverse?
100100
val viewHierarchy = ViewHierarchyNode.fromView(root, null, 0, options.sessionReplay)
101-
val captureSurfaceViewsEnabled = options.sessionReplay.isCaptureSurfaceViews
102101
val surfaceViewNodes =
103-
if (captureSurfaceViewsEnabled) {
102+
if (options.sessionReplay.isCaptureSurfaceViews) {
104103
mutableListOf<ViewHierarchyNode.SurfaceViewHierarchyNode>()
105104
} else {
106105
null

0 commit comments

Comments
 (0)