summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/UploadHandler.java
Commit message (Collapse)AuthorAgeFilesLines
* 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