From 6d40274333a6ad8608ca3d61a2f501ca8a558175 Mon Sep 17 00:00:00 2001 From: Jia Hao Date: Fri, 14 Aug 2020 12:36:21 +0800 Subject: [PATCH] Add missing nullable annotation --- .../android/io/flutter/plugin/common/MethodChannel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/platform/android/io/flutter/plugin/common/MethodChannel.java b/shell/platform/android/io/flutter/plugin/common/MethodChannel.java index 41dbae9c9f8dd..288ae2f0849fe 100644 --- a/shell/platform/android/io/flutter/plugin/common/MethodChannel.java +++ b/shell/platform/android/io/flutter/plugin/common/MethodChannel.java @@ -90,7 +90,7 @@ public void invokeMethod(@NonNull String method, @Nullable Object arguments) { * @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)),