summaryrefslogtreecommitdiffstats
path: root/tests/src/com/android
diff options
context:
space:
mode:
authorBen Murdoch <benm@google.com>2010-05-19 20:38:56 +0100
committerBen Murdoch <benm@google.com>2010-05-20 19:00:30 +0100
commit62b1b7ef20a1c9f4c6e6f7b73140701b3c6193c5 (patch)
treec688bccd6cba5709d7d8fe900295644ccb76c8ca /tests/src/com/android
parentd746a94137a87ffcc1fcefdac9a3764c3bc3f5cd (diff)
downloadpackages_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.java4
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);
}
}