From e085fd8e8e36cbb871701cd0e38a22bc2fa37f4b Mon Sep 17 00:00:00 2001 From: xegrox <52340924+xegrox@users.noreply.github.com> Date: Thu, 23 Feb 2023 20:47:07 +0800 Subject: [PATCH] Make FlutterException constructor public --- .../android/io/flutter/plugin/common/FlutterException.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/platform/android/io/flutter/plugin/common/FlutterException.java b/shell/platform/android/io/flutter/plugin/common/FlutterException.java index ffcce9eb046b5..7657397538ea1 100644 --- a/shell/platform/android/io/flutter/plugin/common/FlutterException.java +++ b/shell/platform/android/io/flutter/plugin/common/FlutterException.java @@ -14,7 +14,7 @@ public class FlutterException extends RuntimeException { public final String code; public final Object details; - FlutterException(String code, String message, Object details) { + public FlutterException(String code, String message, Object details) { super(message); if (BuildConfig.DEBUG && code == null) { Log.e(TAG, "Parameter code must not be null.");