From cf7bd3893e2e102dd67f944cfee2dafe7022ff0e Mon Sep 17 00:00:00 2001 From: shinriyo Date: Tue, 6 Oct 2020 15:15:49 +0900 Subject: [PATCH] for warning use `@SuppressWarnigns("unchecked")` --- .../src/main/java/com/flutter_webview_plugin/WebviewManager.java | 1 + 1 file changed, 1 insertion(+) diff --git a/android/src/main/java/com/flutter_webview_plugin/WebviewManager.java b/android/src/main/java/com/flutter_webview_plugin/WebviewManager.java index e19b2a08..accaeddb 100644 --- a/android/src/main/java/com/flutter_webview_plugin/WebviewManager.java +++ b/android/src/main/java/com/flutter_webview_plugin/WebviewManager.java @@ -190,6 +190,7 @@ public void openFileChooser(ValueCallback uploadMsg) { // For Android 3.0+ public void openFileChooser(ValueCallback uploadMsg, String acceptType) { + @SuppressWarnigns("unchecked") mUploadMessage = uploadMsg; Intent i = new Intent(Intent.ACTION_GET_CONTENT); i.addCategory(Intent.CATEGORY_OPENABLE);