diff options
author | Ben Murdoch <benm@google.com> | 2010-05-19 20:38:56 +0100 |
---|---|---|
committer | Ben Murdoch <benm@google.com> | 2010-05-20 19:00:30 +0100 |
commit | 62b1b7ef20a1c9f4c6e6f7b73140701b3c6193c5 (patch) | |
tree | c688bccd6cba5709d7d8fe900295644ccb76c8ca /tests/src/com/android | |
parent | d746a94137a87ffcc1fcefdac9a3764c3bc3f5cd (diff) | |
download | packages_apps_browser-62b1b7ef20a1c9f4c6e6f7b73140701b3c6193c5.zip packages_apps_browser-62b1b7ef20a1c9f4c6e6f7b73140701b3c6193c5.tar.gz packages_apps_browser-62b1b7ef20a1c9f4c6e6f7b73140701b3c6193c5.tar.bz2 |
Add support for the camera as a source for the file picker.
Determine whether to show the camera based on the accept type associated with
the input element.
Change-Id: I48fea76fbd7a1f3df3c87288f28e01a32d9e955e
Diffstat (limited to 'tests/src/com/android')
-rw-r--r-- | tests/src/com/android/browser/TestWebChromeClient.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/src/com/android/browser/TestWebChromeClient.java b/tests/src/com/android/browser/TestWebChromeClient.java index d78eaed..53f8db3 100644 --- a/tests/src/com/android/browser/TestWebChromeClient.java +++ b/tests/src/com/android/browser/TestWebChromeClient.java @@ -195,7 +195,7 @@ abstract class TestWebChromeClient extends WebChromeClient { /** {@inheritDoc} */ @Override - public void openFileChooser(ValueCallback<Uri> uploadFile) { - mWrappedClient.openFileChooser(uploadFile); + public void openFileChooser(ValueCallback<Uri> uploadFile, String acceptType) { + mWrappedClient.openFileChooser(uploadFile, acceptType); } } |