Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 7c1c32d

Browse files
author
Emmanuel Garcia
committed
comments
1 parent f90af56 commit 7c1c32d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

testing/scenario_app/android/app/src/androidTest/java/dev/flutter/scenariosui/ScreenshotUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ private static class Connection {
3838

3939
synchronized void writeFile(String name, byte[] fileContent) throws IOException {
4040
final ByteBuffer buffer = ByteBuffer.allocate(name.length() + fileContent.length + 8);
41-
// See ScreenshotBlobTransformer#bind in screenshot_transformer.dart
41+
// See ScreenshotBlobTransformer#bind in screenshot_transformer.dart for consumer side.
4242
buffer.putInt(name.length());
4343
buffer.putInt(fileContent.length);
4444
buffer.put(name.getBytes());

testing/scenario_app/bin/utils/screenshot_transformer.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class ScreenshotBlobTransformer extends StreamTransformerBase<Uint8List, Screens
3232
continue;
3333
}
3434

35-
// See ScreenshotUtil#writeFile in ScreenshotUtil.java
35+
// See ScreenshotUtil#writeFile in ScreenshotUtil.java for producer side.
3636
final Uint8List bytes = pending.toBytes();
3737
final ByteData byteData = bytes.buffer.asByteData();
3838

0 commit comments

Comments
 (0)