From 634dd3f0b8c72ffa60ae3fecf9a4b5de0c6249f2 Mon Sep 17 00:00:00 2001 From: Takehiko Yokota Date: Fri, 11 Mar 2022 15:48:03 +0900 Subject: [PATCH] fix a problem of not being able to choose video file --- .../src/main/java/net/gree/unitywebview/CWebViewPlugin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Android/webview/src/main/java/net/gree/unitywebview/CWebViewPlugin.java b/plugins/Android/webview/src/main/java/net/gree/unitywebview/CWebViewPlugin.java index fe47ec5c..1fd39113 100644 --- a/plugins/Android/webview/src/main/java/net/gree/unitywebview/CWebViewPlugin.java +++ b/plugins/Android/webview/src/main/java/net/gree/unitywebview/CWebViewPlugin.java @@ -749,7 +749,7 @@ private void ProcessChooser() { Intent contentSelectionIntent = new Intent(Intent.ACTION_GET_CONTENT); contentSelectionIntent.addCategory(Intent.CATEGORY_OPENABLE); contentSelectionIntent.putExtra(Intent.EXTRA_ALLOW_MULTIPLE, true); - contentSelectionIntent.setType("image/*"); + contentSelectionIntent.setType("*/*"); Intent[] intentArray; if(takePictureIntent != null) {