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

Commit 7cac527

Browse files
position(0) -> rewind
1 parent 652ef5e commit 7cac527

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shell/platform/android/test/io/flutter/plugin/editing/TextInputPluginTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ private static void sendToBinaryMessageHandler(
7474
BinaryMessenger.BinaryMessageHandler binaryMessageHandler, String method, Object args) {
7575
MethodCall methodCall = new MethodCall(method, args);
7676
ByteBuffer encodedMethodCall =
77-
JSONMethodCodec.INSTANCE.encodeMethodCall(methodCall).position(0);
77+
JSONMethodCodec.INSTANCE.encodeMethodCall(methodCall).rewind();
7878
binaryMessageHandler.onMessage(encodedMethodCall, mock(BinaryMessenger.BinaryReply.class));
7979
}
8080

0 commit comments

Comments
 (0)