diff --git a/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/PluginRegistry.java b/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/PluginRegistry.java index 29b6097933..649bce820d 100644 --- a/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/PluginRegistry.java +++ b/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/PluginRegistry.java @@ -366,7 +366,7 @@ public interface PluginRegistry { * attached to Intent "extras"). * @return true if the result has been handled. */ - boolean onActivityResult(int requestCode, int resultCode, @NonNull Intent data); + boolean onActivityResult(int requestCode, int resultCode, @Nullable Intent data); } /**