File tree Expand file tree Collapse file tree
sentry-android-replay/src
main/java/io/sentry/android/replay/screenshot
test/java/io/sentry/android/replay/screenshot Expand file tree Collapse file tree Original file line number Diff line number Diff 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 */
294294internal fun compositeSurfaceViewInto (
295295 destCanvas : Canvas ,
Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments