History log of /packages/apps/Browser/src/com/android/browser/UploadHandler.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8cad413fe902010140cf20aad47c2f4e7a51f8d2 11-Jan-2012 Ben Murdoch <benm@google.com> Add support for HTML Media Capture "capture" attribute.

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
/packages/apps/Browser/src/com/android/browser/UploadHandler.java
51f6a2f1dc524b31476fb71de36f2bd79f499d08 21-Feb-2011 Ben Murdoch <benm@google.com> Fix file upload handling after ActivityNotFoundException.

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
/packages/apps/Browser/src/com/android/browser/UploadHandler.java
e4c0cae39f1ca34891de0f892aee4797c892caec 18-Feb-2011 Ben Murdoch <benm@google.com> Fix crash when activity for file upload is not present.

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
/packages/apps/Browser/src/com/android/browser/UploadHandler.java
8233facddcc51865d612a919d450db6954aa48e3 27-Oct-2010 Michael Kolb <kolby@google.com> Controller Refactor

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
/packages/apps/Browser/src/com/android/browser/UploadHandler.java