Loading core/java/android/webkit/WebChromeClient.java +16 −0 Original line number Diff line number Diff line Loading @@ -383,6 +383,22 @@ public class WebChromeClient { uploadFile.onReceiveValue(null); } /** * Tell the client to show a file chooser. * @param uploadFilePaths A ValueCallback to set paths of the files to upload. * onReceiveValue must be called to wake up the thread.a * @param acceptType The value of the 'accept' attribute of the input tag * associated with this file picker. * @param capture Whether the 'capture' attribute exists in the input tag * associated with this file picker. * @hide */ public void showFileChooser(ValueCallback<String[]> uploadFilePaths, String acceptTypes, boolean capture) { uploadFilePaths.onReceiveValue(null); } /** * Tell the client that the page being viewed has an autofillable * form and the user would like to set a profile up. Loading Loading
core/java/android/webkit/WebChromeClient.java +16 −0 Original line number Diff line number Diff line Loading @@ -383,6 +383,22 @@ public class WebChromeClient { uploadFile.onReceiveValue(null); } /** * Tell the client to show a file chooser. * @param uploadFilePaths A ValueCallback to set paths of the files to upload. * onReceiveValue must be called to wake up the thread.a * @param acceptType The value of the 'accept' attribute of the input tag * associated with this file picker. * @param capture Whether the 'capture' attribute exists in the input tag * associated with this file picker. * @hide */ public void showFileChooser(ValueCallback<String[]> uploadFilePaths, String acceptTypes, boolean capture) { uploadFilePaths.onReceiveValue(null); } /** * Tell the client that the page being viewed has an autofillable * form and the user would like to set a profile up. Loading