Commit ff097334 authored by crazecoder's avatar crazecoder

fix crash

parent 17c00556
......@@ -519,9 +519,7 @@ public class InAppWebChromeClient extends WebChromeClient implements PluginRegis
public boolean onShowFileChooser(
WebView webView, ValueCallback<Uri[]> filePathCallback,
FileChooserParams fileChooserParams) {
if (mUploadMessageArray == null) {
mUploadMessageArray = filePathCallback;
}
mUploadMessageArray = filePathCallback;
Intent contentSelectionIntent = new Intent(Intent.ACTION_GET_CONTENT);
contentSelectionIntent.addCategory(Intent.CATEGORY_OPENABLE);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment