diff options
author | Selim Gurun <sgurun@google.com> | 2014-06-17 19:52:30 -0700 |
---|---|---|
committer | Selim Gurun <sgurun@google.com> | 2014-06-18 13:28:54 -0700 |
commit | 4d59434c396e3d414ed4266103d6990a340331e1 (patch) | |
tree | 466f90b3181b9216a129d81183376103e78729a6 /src/com/android/browser/PreloadController.java | |
parent | bdad2c0837e47926bddfc21980bd0b900fdc37d4 (diff) | |
download | packages_apps_Browser-4d59434c396e3d414ed4266103d6990a340331e1.zip packages_apps_Browser-4d59434c396e3d414ed4266103d6990a340331e1.tar.gz packages_apps_Browser-4d59434c396e3d414ed4266103d6990a340331e1.tar.bz2 |
Modify AOSP browser to take advantage of new filechooser API.
Bug: 6930981
Change-Id: Id73512cd6e859ea9316f02e8f0d973b6e15d969b
Diffstat (limited to 'src/com/android/browser/PreloadController.java')
-rw-r--r-- | src/com/android/browser/PreloadController.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/com/android/browser/PreloadController.java b/src/com/android/browser/PreloadController.java index acd9709..1929951 100644 --- a/src/com/android/browser/PreloadController.java +++ b/src/com/android/browser/PreloadController.java @@ -29,6 +29,7 @@ import android.webkit.HttpAuthHandler; import android.webkit.SslErrorHandler; import android.webkit.ValueCallback; import android.webkit.WebChromeClient.CustomViewCallback; +import android.webkit.WebChromeClient.FileChooserParams; import android.webkit.WebView; public class PreloadController implements WebViewController { @@ -203,8 +204,8 @@ public class PreloadController implements WebViewController { } @Override - public void openFileChooser(ValueCallback<Uri> uploadMsg, String acceptType, String capture) { - if (LOGD_ENABLED) Log.d(LOGTAG, "openFileChooser()"); + public void showFileChooser(ValueCallback<Uri[]> callback, FileChooserParams params) { + if (LOGD_ENABLED) Log.d(LOGTAG, "showFileChooser()"); } @Override |