diff --git a/shell/platform/android/io/flutter/plugin/common/StandardMessageCodec.java b/shell/platform/android/io/flutter/plugin/common/StandardMessageCodec.java index 7e1978eaec624..c13b5681c8e0d 100644 --- a/shell/platform/android/io/flutter/plugin/common/StandardMessageCodec.java +++ b/shell/platform/android/io/flutter/plugin/common/StandardMessageCodec.java @@ -331,7 +331,7 @@ protected static final void readAlignment(@NonNull ByteBuffer buffer, int alignm } /** Reads a value as written by writeValue. */ - @NonNull + @Nullable protected final Object readValue(@NonNull ByteBuffer buffer) { if (!buffer.hasRemaining()) { throw new IllegalArgumentException("Message corrupted");