fix crash
This commit is contained in:
parent
17c005561b
commit
ff097334c1
|
@ -519,9 +519,7 @@ public class InAppWebChromeClient extends WebChromeClient implements PluginRegis
|
||||||
public boolean onShowFileChooser(
|
public boolean onShowFileChooser(
|
||||||
WebView webView, ValueCallback<Uri[]> filePathCallback,
|
WebView webView, ValueCallback<Uri[]> filePathCallback,
|
||||||
FileChooserParams fileChooserParams) {
|
FileChooserParams fileChooserParams) {
|
||||||
if (mUploadMessageArray == null) {
|
mUploadMessageArray = filePathCallback;
|
||||||
mUploadMessageArray = filePathCallback;
|
|
||||||
}
|
|
||||||
|
|
||||||
Intent contentSelectionIntent = new Intent(Intent.ACTION_GET_CONTENT);
|
Intent contentSelectionIntent = new Intent(Intent.ACTION_GET_CONTENT);
|
||||||
contentSelectionIntent.addCategory(Intent.CATEGORY_OPENABLE);
|
contentSelectionIntent.addCategory(Intent.CATEGORY_OPENABLE);
|
||||||
|
|
Loading…
Reference in New Issue