Skip to content

Commit 261550d

Browse files
committed
Format code
1 parent 153c6ea commit 261550d

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,8 +288,8 @@ internal class PixelCopyStrategy(
288288
* leaves where SurfaceViews are.
289289
*
290290
* Extracted for testability — the compositing is pure drawing logic that can be driven with
291-
* hand-built bitmaps, while the surrounding [PixelCopyStrategy.captureSurfaceViews] flow depends
292-
* on a real SurfaceView producer that Robolectric cannot provide.
291+
* hand-built bitmaps, while the surrounding [PixelCopyStrategy.captureSurfaceViews] flow depends on
292+
* a real SurfaceView producer that Robolectric cannot provide.
293293
*/
294294
internal fun compositeSurfaceViewInto(
295295
destCanvas: Canvas,

sentry-android-replay/src/test/java/io/sentry/android/replay/screenshot/PixelCopyStrategyTest.kt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -288,9 +288,7 @@ private class ActivityWithSurfaceView : Activity() {
288288
layoutParams = FrameLayout.LayoutParams(200, 50)
289289
}
290290
)
291-
root.addView(
292-
SurfaceView(this).apply { layoutParams = FrameLayout.LayoutParams(200, 200) }
293-
)
291+
root.addView(SurfaceView(this).apply { layoutParams = FrameLayout.LayoutParams(200, 200) })
294292
setContentView(root)
295293
}
296294
}

0 commit comments

Comments
 (0)