Fixed Android 4.2 filepicker, time for master

This commit is contained in:
Joe Bowser 2013-01-17 17:00:50 -08:00
parent a120614617
commit 1193f7ed22

View File

@ -385,6 +385,11 @@ public class CordovaChromeClient extends WebChromeClient {
}
public void openFileChooser( ValueCallback<Uri> uploadMsg, String acceptType ) {
this.openFileChooser(uploadMsg, acceptType, null);
}
public void openFileChooser(ValueCallback<Uri> uploadMsg, String acceptType, String capture)
{
mUploadMessage = uploadMsg;
Intent i = new Intent(Intent.ACTION_GET_CONTENT);
i.addCategory(Intent.CATEGORY_OPENABLE);