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

Commit 64ba011

Browse files
committed
fixed formatting
1 parent 985a4b8 commit 64ba011

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

shell/platform/android/io/flutter/plugin/common/MessageCodec.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ public interface MessageCodec<T> {
2626
/**
2727
* Decodes the specified message from binary.
2828
*
29-
* <p><b>Warning:</b> The ByteBuffer may be `direct`. Do not retain references to
30-
* the ByteBuffer without checking `ByteBuffer.isDirect()`. See also:
29+
* <p><b>Warning:</b> The ByteBuffer may be `direct`. Do not retain references to the ByteBuffer
30+
* without checking `ByteBuffer.isDirect()`. See also:
3131
* https://docs.oracle.com/javase/7/docs/api/java/nio/ByteBuffer.html
3232
*
3333
* @param message the {@link ByteBuffer} message, possibly null.

shell/platform/android/platform_view_android_jni_impl.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -836,7 +836,8 @@ bool RegisterApi(JNIEnv* env) {
836836
}
837837

838838
g_handle_platform_message_response_method = env->GetMethodID(
839-
g_flutter_jni_class->obj(), "handlePlatformMessageResponse", "(ILjava/nio/ByteBuffer;)V");
839+
g_flutter_jni_class->obj(), "handlePlatformMessageResponse",
840+
"(ILjava/nio/ByteBuffer;)V");
840841

841842
if (g_handle_platform_message_response_method == nullptr) {
842843
FML_LOG(ERROR) << "Could not locate handlePlatformMessageResponse method";

0 commit comments

Comments
 (0)