e7a7c7abf4ba5a2a5867205d75ad441e3996ee7d |
25-Feb-2010 |
Dianne Hackborn <hackbod@google.com> |
Update to reflect android-common no longer in framework.
ownloads/DownloadThread.java
|
c4ded39114db06c09c3ba0cf4700fce560272aca |
10-Feb-2010 |
Dan Egnor <egnor@google.com> |
Supply a Context to AndroidHttpClient.newInstance(), to enable persistent SSL session caching.
ownloads/DownloadThread.java
|
a2028ed4141075da8199ba04a499be77734a85ae |
28-Jan-2010 |
Leon Scroggins <scroggo@google.com> |
Create a new permission that allows apps to see downloads from other applications to the SD card. Necessary for http://b/issue?id=2384554 Also create names for files by default, so they do not display as <Untitled>. Remove calls to createTitleFromFilename, which are no longer necessary. Requires a change to frameworks/base.
ownloads/DownloadNotification.java
ownloads/DownloadProvider.java
|
91e4522fa90d969a596058756c24e173df1a6196 |
26-Jan-2010 |
Suchi Amalapurapu <asuchitra@google.com> |
Grant access to downloaded packages to default container. The package name is hardcoded for now but will eventually move to a separate gid guarded by a permission.
ownloads/DownloadProvider.java
|
b3e1aaf3a330472114c9fe7c4d2c38ced5861370 |
26-Jan-2010 |
Attila Bodis <attila@google.com> |
b/2383073 Use new fine-grained download status codes. Takes advantage of two new download status codes (STATUS_DEVICE_NOT_FOUND_ERROR and STATUS_INSUFFICIENT_SPACE_ERROR) when reporting failed download attempts.
ownloads/Helpers.java
|
581abbbbeba49e64219e5f11f8a8474760a2f902 |
22-Jan-2010 |
Leon Scroggins <scroggo@google.com> |
Revert "Download files even if there is no activity to launch them." This reverts commit 0f1aae327a9e4c68044d767e9bafbac747b6d985. I misunderstood the bug. We do not want to be able to download files for which there is currently no Activity to launch them.
ownloads/DownloadNotification.java
ownloads/DownloadService.java
ownloads/Helpers.java
|
4d3a380d338b1f6ee120fb9de2001f138be398ff |
21-Jan-2010 |
Leon Scroggins <scroggo@google.com> |
Update the title of the download based on the filename. Now that the downloads page is not necessarily opened when a download starts, we need to provide a name even if the downloads page isn't shown. So when we create a notification, provide the title. Depends on a change to frameworks/base
ownloads/DownloadNotification.java
|
0f1aae327a9e4c68044d767e9bafbac747b6d985 |
21-Jan-2010 |
Leon Scroggins <scroggo@google.com> |
Download files even if there is no activity to launch them. Fixes http://b/issue?id=2367247
ownloads/DownloadNotification.java
ownloads/DownloadService.java
ownloads/Helpers.java
|
7dd92fa94df0a13b4592ee636b7aa2b605f6b473 |
08-Jan-2010 |
Jean-Baptiste Queru <jbq@google.com> |
Use the private legacy API The public API is getting deeply reworked for forward compatibility, but since the Download Manager and the Browser need to continue using the old API, a separate copy is being kept on the side. Bug: 2245521 Change-Id: I85eff6ba9efc68600aa80e8dffa6720b0f2ed155
ownloads/DownloadInfo.java
ownloads/DownloadNotification.java
ownloads/DownloadProvider.java
ownloads/DownloadReceiver.java
ownloads/DownloadService.java
ownloads/DownloadThread.java
ownloads/Helpers.java
|
dc0accaaa66cdd7321505a8c42504b05a98ae341 |
14-Dec-2009 |
Paul Westbrook <pwestbro@google.com> |
Changed class paths for classes moved in unbundling effort
ownloads/DownloadThread.java
|
18c3040260907472a9e471e5707a5b2f8320d074 |
02-Nov-2009 |
Lixin Yue <L.X.YUE@motorola.com> |
Fix Download application notification timestamp not correct issue Should set the value of Notification.when before calling setLatestEventInfo(). On downloading an image without exif information, the received file's timestamp is correct for main database field but incorrect for temporary display field. Root cause is that if Notification.when not set before calling setLatestEventInfo(), the timestamp value in milliseconds unit will be directly set to a field as second unit. Thus database will record the time as 1000 times forward as 2067, etc. However from UI the file's time will be just shown like "10/10/67", misleading people to think time is set backwards before system time 0(1969).
ownloads/DownloadNotification.java
|
c04b1a0c79631ed8804475a1c4b144686bfaab15 |
24-Sep-2009 |
Jean-Baptiste Queru <jbq@google.com> |
Disable unnecessary logging BUG=2134410
ownloads/Constants.java
|
4a977a52c3eb3ac08b94b81aef72fb618be39f81 |
24-Sep-2009 |
Jean-Baptiste Queru <jbq@google.com> |
Re-use the same random value to compute a download's restart time. The restart time is used multiple times during the same pass, and it needs to be consistent across calls. Otherwise, it's possible for a download to not be restarted immediately and to not be scheduled for a future restart. BUG=2055624
ownloads/DownloadInfo.java
|
2061c03400a8e23cfeee5394b7e71db2440a48ed |
24-Sep-2009 |
Jean-Baptiste Queru <jbq@google.com> |
Remove unnecessary logging Also tweak some slightly inaccurate logging, and add a note about a potential bug. BUG=2055624
ownloads/DownloadReceiver.java
ownloads/DownloadService.java
ownloads/DownloadThread.java
|
764844ebbb788cdde731abbacc89b9afcab8b49f |
23-Sep-2009 |
Jean-Baptiste Queru <jbq@google.com> |
Log the service being launched BUG=2055624
ownloads/DownloadService.java
|
e2607d88081f02a418ff5d5067f5327d513e00a1 |
23-Sep-2009 |
Jean-Baptiste Queru <jbq@google.com> |
Add a bit more logging to track down network state issues. BUG=2055624
ownloads/DownloadReceiver.java
ownloads/DownloadService.java
ownloads/DownloadThread.java
|
a581a4af046fd82b5854d213519e3f418047c0ba |
21-Sep-2009 |
Jean-Baptiste Queru <jbq@google.com> |
Add logging to track connectivity as seen from the Download Manager. This is enabled by a separate build-time constant, so that it can be turned on for everyone without having to use a system property. BUG=2055624
ownloads/Constants.java
ownloads/DownloadReceiver.java
ownloads/DownloadThread.java
|
5b8355b38197dbfe22e1b034950c4cb635a058f5 |
15-Jul-2009 |
Jean-Baptiste Queru <jbq@google.com> |
am d3403254: Enable full logging (for easier debugging) Merge commit 'd3403254c3a290b6a68804c36c6876cb3787ec15' * commit 'd3403254c3a290b6a68804c36c6876cb3787ec15': Enable full logging (for easier debugging)
|
d3403254c3a290b6a68804c36c6876cb3787ec15 |
15-Jul-2009 |
Jean-Baptiste Queru <jbq@google.com> |
Enable full logging (for easier debugging) See http://b/1973844
ownloads/Constants.java
|
4ed4c65f46f5d077bb40f82e7a4821bd47217fdd |
06-Jul-2009 |
Jean-Baptiste Queru <jbq@google.com> |
Merge commit 'f0fa1cdc' into manualmerge Fix crash in discardPurgeableFiles with proper selection syntax. The basic crash is that this codepath was doing a query to the download provider without properly quoting its selection arguments (which is mandated by the download provider). A secondary crash is that the DESTINATION column wasn't readable. This fixes bug 1941125. Tested by force-calling discardPurgeableFiles for each download to /cache, locally adding a few debugging statements to be sure that the codepath was getting executed, and doing a market download. Conflicts: src/com/android/providers/downloads/DownloadProvider.java src/com/android/providers/downloads/Helpers.java
|
f0fa1cdc1a36cbe0abd57ef9cf9a636fd1d3e2c8 |
02-Jul-2009 |
Jean-Baptiste Queru <jbq@google.com> |
Fix crash in discardPurgeableFiles with proper selection syntax. The basic crash is that this codepath was doing a query to the download provider without properly quoting its selection arguments (which is mandated by the download provider). A secondary crash is that the DESTINATION column wasn't readable. This fixes bug 1941125. Tested by force-calling discardPurgeableFiles for each download to /cache, locally adding a few debugging statements to be sure that the codepath was getting executed, and doing a market download.
ownloads/DownloadProvider.java
ownloads/Helpers.java
|
e0114021be2a1ca49a8cba85bb88129d3a19d173 |
27-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
Merge commit 'korg/cupcake' Conflicts: src/com/android/providers/downloads/DownloadThread.java
|
496f051b28759df3d55afd6d617b5e65468b87e3 |
25-Mar-2009 |
Feng Qian <> |
Automated import from //branches/donutburger/...@140733,140733
ownloads/DownloadThread.java
|
9ae5f517f7699439b673330867b26ffc5ad880cc |
20-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake_rel/...@141571
ownloads/DownloadThread.java
|
63ef384e15c40fdd4646157cb40b71e87b2062a6 |
19-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake_rel/...@140373
ownloads/DownloadThread.java
|
977d38d21876fbc39598ff0a966a27db92ee1d59 |
18-Mar-2009 |
Jean-Baptiste Queru <jbq@google.com> |
Merge commit 'remotes/korg/cupcake' into merge Conflicts: docs/index.html src/com/android/providers/downloads/DownloadProvider.java src/com/android/providers/downloads/DownloadService.java
|
2dd83ce992eaaf3d44c32bc7468b47e3db014027 |
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
ownloads/Constants.java
ownloads/DownloadFileInfo.java
ownloads/DownloadInfo.java
ownloads/DownloadNotification.java
ownloads/DownloadProvider.java
ownloads/DownloadReceiver.java
ownloads/DownloadService.java
ownloads/DownloadThread.java
ownloads/Helpers.java
|
1edb39f280d23b3a87db45b63c2f26850d68eafe |
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
ownloads/Constants.java
ownloads/DownloadFileInfo.java
ownloads/DownloadInfo.java
ownloads/DownloadNotification.java
ownloads/DownloadProvider.java
ownloads/DownloadReceiver.java
ownloads/DownloadService.java
ownloads/DownloadThread.java
ownloads/Helpers.java
|
f8e520e6b7ba9533117d4805a29fb7321534d6ce |
28-Feb-2009 |
Jean-Baptiste Queru <jbq@google.com> |
Make the DownloadProvider work in the simulator
ownloads/DownloadProvider.java
|
da4093923903a53273c7ba86daaa5af0d1cf3d97 |
28-Feb-2009 |
Jean-Baptiste Queru <jbq@google.com> |
Optimize call to queryIntentActivities() Replace a call to queryIntentActivities() with a calls to resolveActivity(). This is done since the only purpose of the call is to check if the returned list is empty or non-empty. It's inefficient to move an entire list across the process boundary, only to discard it.
ownloads/Helpers.java
|
c2fb15f7689a10c7fe3b6c1f1ed0ce1f5a95ba9b |
19-Feb-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@132276
ownloads/DownloadService.java
ownloads/Helpers.java
|
eaeda874c62a0ebc439894858e110160b7e2a212 |
11-Feb-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@130745
ownloads/DownloadProvider.java
|
ce8813afb256269e9e223f72ebced92560201bbb |
06-Feb-2009 |
Jean-Baptiste Queru <jbq@google.com> |
Refine interaction between destination and default visibility. The previous code was hard to read, and relied on the fact that one of the constants was 0 (which is also the default value when reading back uninitialized columns).
ownloads/DownloadProvider.java
|
6a338eb9f99486c6418596992a0de592e2e8d752 |
29-Dec-2008 |
Dennis Hsieh <yundom@gmail.com> |
Force sync the downloaded file to the storage after completion. This will write the downlaoded file to the storage (sdcard in default). It can prevent file corruption if the user removes the sdcard unsafely after a download completes.
ownloads/DownloadThread.java
|
59910f4a9ce953ea74c8db759448f227c96796b3 |
20-Jan-2009 |
Jean-Baptiste Queru <jbq@google.com> |
Use the new download manager APIs introduced in change 7400
ownloads/DownloadInfo.java
ownloads/DownloadNotification.java
ownloads/DownloadProvider.java
ownloads/DownloadReceiver.java
ownloads/DownloadService.java
ownloads/DownloadThread.java
ownloads/Helpers.java
|
c6f5aad265cfc36a64cd2bdb5adf3cc9736bbd80 |
20-Jan-2009 |
Jean-Baptiste Queru <jbq@google.com> |
Match the official code style guide. This fixes a number of style violations that weren't caught by automated tools and brings those files closer to compliance with the official style guide for this language.
ownloads/Constants.java
ownloads/DownloadFileInfo.java
ownloads/DownloadInfo.java
ownloads/DownloadNotification.java
ownloads/DownloadProvider.java
ownloads/DownloadReceiver.java
ownloads/DownloadService.java
ownloads/DownloadThread.java
ownloads/Helpers.java
|
1fbad9cfa532f13f6cf03f542febf2e4689edec5 |
18-Dec-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Code drop from //branches/cupcake/...@124589
ownloads/Constants.java
ownloads/DownloadInfo.java
ownloads/DownloadNotification.java
ownloads/DownloadProvider.java
ownloads/DownloadReceiver.java
ownloads/DownloadService.java
ownloads/DownloadThread.java
ownloads/Helpers.java
|
57f55b3cb4f7e4136cde8d1ea12c1e70ec903362 |
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
ownloads/Constants.java
ownloads/DownloadFileInfo.java
ownloads/DownloadInfo.java
ownloads/DownloadNotification.java
ownloads/DownloadProvider.java
ownloads/DownloadReceiver.java
ownloads/DownloadService.java
ownloads/DownloadThread.java
ownloads/Helpers.java
|