Skip to content

Commit fdf7e64

Browse files
committed
Stop repainting native screenshots in device runner helper
1 parent ff8ce2e commit fdf7e64

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

scripts/device-runner-app/tests/Cn1ssDeviceRunnerHelper.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,6 @@ static boolean emitCurrentFormScreenshot(String testName) {
6262
return false;
6363
}
6464
Image screenshot = img[0];
65-
if (screenshot.getGraphics() != null) {
66-
current.paintComponent(screenshot.getGraphics(), true);
67-
}
6865
try {
6966
ImageIO io = ImageIO.getImageIO();
7067
if (io == null || !io.isFormatSupported(ImageIO.FORMAT_PNG)) {

0 commit comments

Comments
 (0)