OSDN Git Service

Launch intents to open/delete downloads, and handle them in the browser.
authorLeon Scroggins <scroggo@google.com>
Tue, 26 Jan 2010 19:15:01 +0000 (14:15 -0500)
committerLeon Scroggins <scroggo@google.com>
Thu, 4 Feb 2010 21:37:55 +0000 (16:37 -0500)
commitfedc493cd810fbd4385efbd647ee70852870988f
tree7a32e6e925b30efe6c440f3f4b82c1bccd914888
parentc38909b6156331f8d739e0d6d7a9f7a0fae3d17c
Launch intents to open/delete downloads, and handle them in the browser.

Initial work for http://b/issue?id=2384554 : showing all downloads in the
browser.  On the BrowserDownloadPage, no longer rely on the filename,
since once the Browser shows downloads from other applications, the
filenames for those downloads will not be available, and this way
all downloads are handled the same.

Other applications which download files will need to handle the same
Intents as OpenDownloadReceiver in order to open/delete them from
the BrowserDownloadPage.

OpenDownloadReceiver is also a necessary step towards moving the
BrowserDownloadPage into its own application, if we ultimately
decide to do that.
AndroidManifest.xml
src/com/android/browser/BrowserDownloadAdapter.java
src/com/android/browser/BrowserDownloadPage.java
src/com/android/browser/OpenDownloadReceiver.java [new file with mode: 0644]