From 6a875e2417b604aab170525fbb486aa8cbf96f79 Mon Sep 17 00:00:00 2001 From: Jude Kwashie Date: Thu, 12 Dec 2024 08:49:08 +0000 Subject: [PATCH] fix(crashlytics, adroid): suppress unchecked cast warning --- .../firebase/crashlytics/FlutterFirebaseCrashlyticsPlugin.java | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/firebase_crashlytics/firebase_crashlytics/android/src/main/java/io/flutter/plugins/firebase/crashlytics/FlutterFirebaseCrashlyticsPlugin.java b/packages/firebase_crashlytics/firebase_crashlytics/android/src/main/java/io/flutter/plugins/firebase/crashlytics/FlutterFirebaseCrashlyticsPlugin.java index 20364a1b1ed9..e02fe5f6a1a3 100644 --- a/packages/firebase_crashlytics/firebase_crashlytics/android/src/main/java/io/flutter/plugins/firebase/crashlytics/FlutterFirebaseCrashlyticsPlugin.java +++ b/packages/firebase_crashlytics/firebase_crashlytics/android/src/main/java/io/flutter/plugins/firebase/crashlytics/FlutterFirebaseCrashlyticsPlugin.java @@ -148,6 +148,7 @@ private Task recordError(final Map arguments) { final boolean fatal = (boolean) Objects.requireNonNull(arguments.get(Constants.FATAL)); final String buildId = (String) Objects.requireNonNull(arguments.get(Constants.BUILD_ID)); + @SuppressWarnings("unchecked") final List loadingUnits = (List) Objects.requireNonNull(arguments.get(Constants.LOADING_UNITS));