54781207d31fd0fb33c6038b6999ba649fc488b2 |
|
18-Jan-2013 |
Jeff Sharkey <jsharkey@android.com> |
Define failed connections column, and reset. When retrying a download, always reset the failed connections count. Bug: 8022478 Change-Id: I0d799d82dc7a04fe788b8c5faee0045d1e1a9c60
/frameworks/base/core/java/android/provider/Downloads.java
|
15ec7d6d7f23ec197a88619b5e03320cfebd2240 |
|
17-Apr-2012 |
Jeff Sharkey <jsharkey@android.com> |
Add ALLOW_METERED column to DownloadManager. Also allow isActiveNetworkMetered() to inspect networks without requiring ACCESS_WIFI_STATE. Bug: 3001465 Change-Id: Ibc23577d4ad941e4f93db417be6b046881dcbfb1
/frameworks/base/core/java/android/provider/Downloads.java
|
58d9fb6220ea2070b0af5db3031e9cdaead6e36d |
|
13-Apr-2012 |
Jeff Sharkey <jsharkey@android.com> |
Mapping from DownloadManager status to string. Change-Id: I159aa5f9c7289d6935436d78523b0628482bdc91
/frameworks/base/core/java/android/provider/Downloads.java
|
948eef82546c15086d0b78ce18ee874aa5c634f7 |
|
21-Mar-2012 |
Jeff Sharkey <jsharkey@android.com> |
Remove unused android.net.Downloads. It's another set of constants that can be confused with those in android.provider.Downloads. Change-Id: I78ac058fa264d59a81f7655ab101c3fb2c8c17ff
/frameworks/base/core/java/android/provider/Downloads.java
|
fdfef57f498e3021a34342538aef9f1c7ccbae78 |
|
17-Jun-2011 |
Jeff Sharkey <jsharkey@android.com> |
Notify policy listeners about metered ifaces. Currently, kernel definition of metered networks is applied at the interface level. This change maintain list of those metered ifaces and notifies policy listeners, like ConnectivityService. (This gives us a consistent picture of when a network would be blocked.) Bug: 4601393 Change-Id: I277d5ca96ab967a1c1c3f1da8f9587557cd6d74c
/frameworks/base/core/java/android/provider/Downloads.java
|
1a303953589fdddf21d88b8fa660136f5b060d0d |
|
16-Jun-2011 |
Jeff Sharkey <jsharkey@android.com> |
DownloadManager flags for network policy. Handful of DownloadManager flags to record when a download was paused because of NetworkPolicyManager rules. Change-Id: I99fc47f529cb6c8a42dbeca049e0cd0f1556eac4
/frameworks/base/core/java/android/provider/Downloads.java
|
f9e8523e62fa391e85d393c23a3345887565d426 |
|
10-Feb-2011 |
Vasu Nori <vnori@google.com> |
bug:3425749 send notification for completed download Change-Id: Ib46df5eaa9316fe0fc843fee1e4597e22768f4a8
/frameworks/base/core/java/android/provider/Downloads.java
|
0ba3055b1e657b0948001d48b19345fb0cd626ff |
|
09-Feb-2011 |
Vasu Nori <vnori@google.com> |
bug:3435895 change a couple of retryable error constants to < 400 so that they are not considered permanent failures Change-Id: I4513e6abcce127f78b5be98ab78c985ed698e43e
/frameworks/base/core/java/android/provider/Downloads.java
|
1b67231483bd4e40aedab611846683b0c816ed27 |
|
04-Feb-2011 |
Vasu Nori <vnori@google.com> |
am 9ec496b4: am e1cbd0a8: Revert "Merge "bug:3414192 new API to designate a download to be OTA update" into honeycomb" * commit '9ec496b484305defa6cbb691b85836ace8b73a02': Revert "Merge "bug:3414192 new API to designate a download to be OTA update" into honeycomb"
|
e1cbd0a85f09a54f8bf28545ac67455b7dcd2532 |
|
03-Feb-2011 |
Vasu Nori <vnori@google.com> |
Revert "Merge "bug:3414192 new API to designate a download to be OTA update" into honeycomb" This reverts commit 6bc710f769618e87b98d51cd02241e6b1a2fb653, reversing changes made to 7ba35f5ab3c838c7f1b3ab957be685ac1f506b2a.
/frameworks/base/core/java/android/provider/Downloads.java
|
b73fb5401e44014d6c6906b22a7cc6563cb54b92 |
|
03-Feb-2011 |
Vasu Nori <vnori@google.com> |
am 99e8e047: am 6bc710f7: Merge "bug:3414192 new API to designate a download to be OTA update" into honeycomb * commit '99e8e0470249ce145003cc1eabc5ae391af34a06': bug:3414192 new API to designate a download to be OTA update
|
72725ebcad848a72d3e3ac4de250553017910d9f |
|
02-Feb-2011 |
Vasu Nori <vnori@google.com> |
bug:3414192 new API to designate a download to be OTA update Change-Id: Iae2f6185e130324ad956f594e78b1d8b2176c808
/frameworks/base/core/java/android/provider/Downloads.java
|
c0e5075739574e67c825e4841d5cccee55cbfd29 |
|
21-Jan-2011 |
Vasu Nori <vnori@google.com> |
bug:3048327 (master) ability to add completed download to dnload mgr Change-Id: I073436c97d5d7cb8ea6a823488a451017dac3ff2
/frameworks/base/core/java/android/provider/Downloads.java
|
f83e6e4b7a7fcbfcc8e3b6078f4655fa3e64bce3 |
|
14-Dec-2010 |
Vasu Nori <vnori@google.com> |
bug:3264401 changes to support usage of new downloads dir in /data Change-Id: I209a624523f727d47a4a8f758c13df5d4eac614f
/frameworks/base/core/java/android/provider/Downloads.java
|
4da12f07b5c1ecd7cea7f44081a744523936bd41 |
|
01-Dec-2010 |
Kenny Root <kroot@google.com> |
am 1de6ca69: am 938d0972: Merge "Grant ACCESS_ALL_DOWNLOADS to DefaultContainerService" into gingerbread * commit '1de6ca69cc541ccdd651071c8bd5629af4e09664': Grant ACCESS_ALL_DOWNLOADS to DefaultContainerService
|
1de2eac9d0a9ef03ecf9f964893ca889487f5403 |
|
01-Dec-2010 |
Kenny Root <kroot@google.com> |
Grant ACCESS_ALL_DOWNLOADS to DefaultContainerService Be compatible with the old DownloadProvider behavior of being able to operate on content URIs returned from .insert() Bug: 3242328 Change-Id: I7dad15ac0fefa867c3c8a33a579fc9899ac80262
/frameworks/base/core/java/android/provider/Downloads.java
|
8da7a4e3451a41808972bfec0af0740e999d9c8a |
|
18-Nov-2010 |
Vasu Nori <vnori@google.com> |
changes to support Change-Id: I572fdfd6d34dbb5a0577c6cf14664b6f2d5700b4 1. add new column constants for : COLUMN_last_updatesrc 2. send downloadid in the uri wherever possible. Change-Id: I49a18506060bf292a0750790042e94b0a35ea9bf
/frameworks/base/core/java/android/provider/Downloads.java
|
4015de2a0803998ee5ffdf1d765378ed0e360ae1 |
|
12-Nov-2010 |
Vasu Nori <vnori@google.com> |
add column to downloads table to store error msg when a download fails useful for debugging for bugs like bug:3187299 without this error message, one doesn't know WHY downloads fail. there is a STOPSHIP comment around storage of this error message in database. Change-Id: I1fa49ee9eb97be16aced1611ab30a286b0b6c8d2
/frameworks/base/core/java/android/provider/Downloads.java
|
5be894e636522addc40dad3b631f0249e6cc25cf |
|
03-Nov-2010 |
Vasu Nori <vnori@google.com> |
add API to return Uri for the given downloaded file id & get mimetype Change-Id: I1f5dd734e394db0056579a3a0c26862fee27981e
/frameworks/base/core/java/android/provider/Downloads.java
|
4c6e5dfa1c38f32843d209258388b97d4e32314f |
|
27-Oct-2010 |
Vasu Nori <vnori@google.com> |
make notifications appear during downloading AND after completion bug:3132773 Change-Id: I012859fa86055f322069d5120b110c4c8887fb61
/frameworks/base/core/java/android/provider/Downloads.java
|
ef7e33b9b8647c8417e472986f95a71cb75dde80 |
|
20-Oct-2010 |
Vasu Nori <vnori@google.com> |
remove duplicate code Change-Id: I60faf921de4b9add619e2450e0a19a111ede7984
/frameworks/base/core/java/android/provider/Downloads.java
|
216fa22791889774b83977341632c4570dcec35d |
|
13-Oct-2010 |
Vasu Nori <vnori@google.com> |
bug:3069735 in Download UI app, handle deletes correctly gingerbread. (for more detailed comments, please see the dependent CL Change-Id: Ib90eb9e647f543312c865d3bbf9a06fb867a648b ) 2 changes in this CL. 1. add 2 new columns to downloads table in downloads.db: mediaprovider_uri = downloaded file's content_uri in mediaprovider db deleted = flag is set to true if a file is to be deleted 2. download UI app shows only those files whose 'deleted' flag is not set Change-Id: I47c5f72b0a0b354fac3abe3a97752130b8189794
/frameworks/base/core/java/android/provider/Downloads.java
|
3e8c1d3a467bab889de7f92379be1f43d9c2d81e |
|
30-Sep-2010 |
Steve Howard <showard@google.com> |
Have download manager give more details when downloads are paused This change introduces more detailed reporting of why downloads are paused in the download manager. First, it adds new, more detailed status constants in android.provider.Downloads for when a download is paused, in place of the old catch-all STATUS_RUNNING_PAUSED. I've eliminated some dead code there as well to ease the change. Second, in the public API, it changes COLUMN_ERROR_CODE to COLUMN_REASON, which now reports useful info for STATUS_PAUSED in addition to STATUS_FAILED. It adds some new PAUSED_* constants for reason values when a download is paused, and adds code to generate these values appropriately. Change-Id: Ie617d1c2c59357375e19466086923ace5e2fb122
/frameworks/base/core/java/android/provider/Downloads.java
|
f176681ecc19f3bffa3d9cb00b3460cf5a128d28 |
|
18-Sep-2010 |
Steve Howard <showard@google.com> |
Support for download manager "queue for wifi" dialogs New DB column and new secure setting for recommended max download size over mobile. Change-Id: If87acda62140ad6d8f923a000a5ff9232021e1a3
/frameworks/base/core/java/android/provider/Downloads.java
|
a9e87c9cc375b8be43a05ad641545db26eee0d46 |
|
16-Sep-2010 |
Steve Howard <showard@google.com> |
New error status for "destination file already exists". Also changing the behavior of the local URI column slightly to better match the spec -- it should return the client-provided destination so that it's valid even if the download failed. Change-Id: Ibf9c07519e647e677ebac8b334b9f2e930e47033
/frameworks/base/core/java/android/provider/Downloads.java
|
eca77fcdc64dcbd2915e7f5e1e26dbe4a7105314 |
|
13-Sep-2010 |
Steve Howard <showard@google.com> |
Support new URI structure for download provider. I'm changing the URI structure for the download provider a bit. The download provider will now support two views into its data: * content://downloads/my_downloads... will basically be the current view, which is limited to downloads owned by the calling UID * content://downloads/all_downloads... will include all downloads in the system, but will require special permission In addition to making things more clear, this change will allow for granting URI permissions to individual downloads via the /all_downloads/... URI. This change includes the framework changes necessary to support the new structure. The bulk of the work will be in the DownloadProvider code itself. In addition, this change makes DownloadManager return a content URI rather than a file URI for /cache downloads. This avoids any confusion in clients, which wouldn't be able to open the file directly, and better supports granting permissions to viewers. Change-Id: Ie548b927817ac774111990dd0c9d26aaf979d1ea
/frameworks/base/core/java/android/provider/Downloads.java
|
90fb15a7e52b1208b8d4f7518a61efb99580b5b0 |
|
10-Sep-2010 |
Steve Howard <showard@google.com> |
Support UI visibility and restarting in download manager. First, this change adds a column to the downloads table specifying whether a download should be displayed in the system downloads UI. It adds a public method to set this parameter when requesting a download, and a hidden method to filter queries based on this paramter (such filtering could be made public later, but it's not strictly necessary right now). Second, this change adds support for restarting a completed/failed download as a hidden method on DownloadManager. Currently it only works from the download manager's process - it'll be used by the new download manager UI. Change-Id: I15eda1a6e3717d1ce947a810b25ad3540cce809e
/frameworks/base/core/java/android/provider/Downloads.java
|
33bbd12a05005ac92a0ecf82695893148227bb22 |
|
03-Aug-2010 |
Steve Howard <showard@google.com> |
New download manager error code when we can't resume. Adding DownloadManager.ERROR_CANNOT_RESUME for when we can't resume an interrupted download (because the server didn't provide an ETag or doesn't support range requests), as well as the necessary private status code in Downloads.Impl. Change-Id: I5a66f1e1964198552ab2216aa6d3cc0db2254e21
/frameworks/base/core/java/android/provider/Downloads.java
|
8e15afe799bbe8d332640c1f2b57b5e0458a9625 |
|
29-Jul-2010 |
Steve Howard <showard@google.com> |
Make downloads visible by default. Change-Id: I8f8b325658d8afc964bddd3f1c03ed20e6bd10aa
/frameworks/base/core/java/android/provider/Downloads.java
|
a13a02cd0ec6c0584fc2423feb974d77d0945964 |
|
23-Jul-2010 |
Steve Howard <showard@google.com> |
New permission for non-purgeable cache downloads. This permission allows an app to use the public download manager API to download files to the cache partition that won't be automatically deleted when the download manager needs space. Change-Id: Id9a5cd61c940df22765b358290b8ad8ceeff493e
/frameworks/base/core/java/android/provider/Downloads.java
|
13d08515f038db45de6028085993ae6076566867 |
|
22-Jul-2010 |
Steve Howard <showard@google.com> |
Remove SEE_ALL_EXTERNAL permission from Download Manager. I'm removing this currently unused functionality from the Download Manager implementation, so the constant might as well go. Change-Id: I4f0970211201881a8426b83b5275408cd14c3377
/frameworks/base/core/java/android/provider/Downloads.java
|
b8e07a51c1849d6894c5773a3daacedd01294218 |
|
21-Jul-2010 |
Steve Howard <showard@google.com> |
DL manager support for broadcasts + connectivity control * Additions to DownloadManager to support control of broadcast intents, allowed network types, and roaming control. This includes new constants and added implementation. * New DB columns to hold connectivity flags and one to indicate whether the download was initiated through the public API; this is used to change behavior related to broadcast intents and connectivity controls. Change-Id: I2e8e4ce92cde7889a0f24dc43b86c596c73c0eaa
/frameworks/base/core/java/android/provider/Downloads.java
|
ea9147df00ee6e098cd02d901424ae5a4fe0fafd |
|
14-Jul-2010 |
Steve Howard <showard@google.com> |
Interface support for custom HTTP headers in DL manager * constants for new DB table, keys for including headers in a DownloadProvider.insert() call, and new URIs for retrieving headers * support in DownloadManager to pass headers to the provider
/frameworks/base/core/java/android/provider/Downloads.java
|
adcb697826753391f02f6b3bd35b4edfb3032ad1 |
|
13-Jul-2010 |
Steve Howard <showard@google.com> |
Download manager support for file URIs + last modified time First, in the download manager public API, I'm changing COLUMN_REQUESTED_TIMESTAMP to COLUMN_LAST_MODIFIED_TIMESTAMP, a field that already exists in the download manager. Upon inspection of existing users of this field, it looks like there are some good use cases -- for instance, looking at when a download completed. And if I'm exposing that timestamp, there's no need to also expose the requested timestamp. Second, this change includes support for file URI destinations: * add DESTINATION_FILE_URI for use by the DownloadManager wrapper * make DownloadManager use it appropriately The backend support is in a separate change (since it's in a separate project). Also fixing a bug with file URI construction when DownloadManager fills in COLUMN_LOCAL_URI. Change-Id: I5bb93a222cd23215c2a03ed9f68d7f140454f7f2
/frameworks/base/core/java/android/provider/Downloads.java
|
744d90245378e53862ba02869864b36cea832648 |
|
28-Jan-2010 |
Leon Scroggins <scroggo@google.com> |
Add a new permission and remove createTitleFromFilename. Part of http://b/issue?id=2384554 Requires a change to packages/providers/DownloadProvider
/frameworks/base/core/java/android/provider/Downloads.java
|
f238ad7746d04d641f55bbed3461ba87a2ba4aeb |
|
26-Jan-2010 |
Attila Bodis <attila@google.com> |
b/2383073 Add fine-grained status codes for failed downloads. Introduces new download status codes (STATUS_DEVICE_NOT_FOUND_ERROR and STATUS_INSUFFICIENT_SPACE_ERROR) to allow apps to show more accurate and informative error messages upon failed downloads.
/frameworks/base/core/java/android/provider/Downloads.java
|
fe79ef44fe9c0fde9af4834dacfbd587cabdc1c4 |
|
21-Jan-2010 |
Leon Scroggins <scroggo@google.com> |
Create a common method for updating the title of a download from the filename. This method will be used by the DownloadProvider and the BrowserDownloadPage.
/frameworks/base/core/java/android/provider/Downloads.java
|
e99f41f193aaf484d3cf650f6567c8f5e949986f |
|
14-Jan-2010 |
Jean-Baptiste Queru <jbq@google.com> |
@hide the individual members instead of the whole class Bug: 2245521 Change-Id: I8dad1e8d4e1b55dbb9d33b6990c1bd420e914be5
/frameworks/base/core/java/android/provider/Downloads.java
|
843e89757ab2f829ebacd48bd29ef408a5dc301c |
|
14-Jan-2010 |
Jean-Baptiste Queru <jbq@google.com> |
Remove the BaseColumns inheritance This is done so that it doesn't bleed into a public API Bug: 2245521 Change-Id: I2e5f728553f074f0dc2e8a3dfdf90b1c1f189bad
/frameworks/base/core/java/android/provider/Downloads.java
|
32d80bf3b0493cbb2539e1bae3d97c7f9eab4c5b |
|
14-Jan-2010 |
Jean-Baptiste Queru <jbq@google.com> |
Introduce a non-SDK class to hold the implementation details This is an exact clone of the "public" class, so that applications that access the raw content provider directly (i.e. Browser) can continue doing so, at the expense of not being buildable with the SDK. The Download Provider itself will also use those constants. Bug: 2245521 Change-Id: I15f8ca8a3b69719cfbf403fc2607aac0d3c2b79a
/frameworks/base/core/java/android/provider/Downloads.java
|
eef3c54deb1cb66455ae385075333f163e5fb838 |
|
06-Feb-2009 |
Jean-Baptiste Queru <jbq@google.com> |
Fix 1855: Restore constants to pre-cupcake values. Since some of those constants are used in the persistent database, modifying them for cupcake meant that the new code was getting confused by the old persistified data after an upgrade to cupcake, teh most visible symptom being that downloads that had been initiated from the browser would re-appear in the notifications.
/frameworks/base/core/java/android/provider/Downloads.java
|
d816d082e16639d8135256966a6ec93d3edeb2df |
|
20-Jan-2009 |
Jean-Baptiste Queru <jbq@google.com> |
Remove old (unused) download manager APIs
/frameworks/base/core/java/android/provider/Downloads.java
|
06323a692e6331877b65fd0a9b23fc6760c31af1 |
|
20-Jan-2009 |
Jean-Baptiste Queru <jbq@google.com> |
Introduce new names for the download manager API fields. The new names will allow for better consistency and better API documentation if/when they're made public in the SDK. This will be followed by a later change that removes the old names
/frameworks/base/core/java/android/provider/Downloads.java
|
f013e1afd1e68af5e3b868c26a653bbfb39538f8 |
|
18-Dec-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Code drop from //branches/cupcake/...@124589
/frameworks/base/core/java/android/provider/Downloads.java
|
54b6cfa9a9e5b861a9930af873580d6dc20f773c |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
/frameworks/base/core/java/android/provider/Downloads.java
|