From 89e5cf3dbab149777d562daf4d3e778edf00a753 Mon Sep 17 00:00:00 2001 From: Jia Hao Date: Fri, 14 Aug 2020 13:41:01 +0800 Subject: [PATCH] Add missing nullable annotation (flutter/engine#20505) --- .../android/io/flutter/plugin/common/MethodChannel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/MethodChannel.java b/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/MethodChannel.java index 41dbae9c9f8..288ae2f0849 100644 --- a/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/MethodChannel.java +++ b/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/MethodChannel.java @@ -90,7 +90,7 @@ public class MethodChannel { * @param callback a {@link Result} callback for the invocation result, or null. */ @UiThread - public void invokeMethod(String method, @Nullable Object arguments, Result callback) { + public void invokeMethod(String method, @Nullable Object arguments, @Nullable Result callback) { messenger.send( name, codec.encodeMethodCall(new MethodCall(method, arguments)),