From 0af60659f617c0a28d38298e553749ff6cde79bd Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sun, 2 Jul 2017 23:33:41 -0700 Subject: Update travis --- .../main/kotlin/com/pitchedapps/frost/web/FrostChromeClient.kt | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'app/src/main/kotlin') diff --git a/app/src/main/kotlin/com/pitchedapps/frost/web/FrostChromeClient.kt b/app/src/main/kotlin/com/pitchedapps/frost/web/FrostChromeClient.kt index 3def6d25..4d03afe4 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/web/FrostChromeClient.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/web/FrostChromeClient.kt @@ -34,6 +34,15 @@ class FrostChromeClient(webCore: FrostWebViewCore) : WebChromeClient() { } override fun onShowFileChooser(webView: WebView, filePathCallback: ValueCallback>?, fileChooserParams: FileChooserParams?): Boolean { + L.d("On show file chooser") + fileChooserParams?.apply { + L.d(filenameHint) + L.d("$mode") + L.d(acceptTypes.contentToString()) + } + return super.onShowFileChooser(webView, filePathCallback, fileChooserParams) } + + } \ No newline at end of file -- cgit v1.2.3