summaryrefslogtreecommitdiff
path: root/src/com/android/browser/UploadHandler.java
Commit message (Collapse)AuthorAgeFilesLines
* Add support for HTML Media Capture "capture" attribute.Ben Murdoch2012-04-131-30/+28
| | | | | | | | | | | | | | Receive the value for the new "capture" attribute on HTML file pickers, and do the right thing with it. Requires changes in WebKit (I0a921be31fda79a43c05da4fe22d9c808d92709c) and the framework (I494adc1274ca21ce8fe52a6c7b6b758217927e66). Bug: 5771207 Change-Id: I38dfe2df043fdba1388384dbd3b5370737eb38e5
* Fix file upload handling after ActivityNotFoundException.Ben Murdoch2011-02-221-0/+18
| | | | | | | | | | | When we launch the file picker for uploads, if nothing can handle the type of file then we catch the ActivityNotFoundException so that we do not crash and launch a default picker instead. However we still will receive a callback for the intent that failed so in this case we must skip processing it. Bug:3447924 Change-Id: Ic309f4ba1a6feda981fcce5231b9aed9be70eef2
* Fix crash when activity for file upload is not present.Ben Murdoch2011-02-181-73/+106
| | | | | | | | | | Ensure that there is an activity to handle the intents that the file upload control fires. If not, fallback to the default upload control. This CL also refactors the code to be (hopefully :)) easier to follow. Bug:3447924 Change-Id: Ie5f7b448ec1c6abc7da7df29b94cc120d3b2c60e
* Controller RefactorMichael Kolb2010-11-171-0/+214
Bug: 3170671 First step towards a model/view/control design in Browser introduced Controller object started separating UI code represent state of the app in one place only Change-Id: Ica387d6bde2dcf1a4993c3db0cce498cf34ff60f