summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Changed class paths for classes moved in unbundling effortPaul Westbrook2009-12-141-1/+2
|
* Fix Download application notification timestamp not correct issueLixin Yue2009-11-251-2/+2
| | | | | | | | | | | | | 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).
* Disable unnecessary loggingJean-Baptiste Queru2009-09-241-3/+3
| | | | BUG=2134410
* Re-use the same random value to compute a download's restart time.Jean-Baptiste Queru2009-09-241-1/+4
| | | | | | | | | 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
* Remove unnecessary loggingJean-Baptiste Queru2009-09-243-58/+3
| | | | | | | Also tweak some slightly inaccurate logging, and add a note about a potential bug. BUG=2055624
* Log the service being launchedJean-Baptiste Queru2009-09-221-0/+14
| | | | BUG=2055624
* Add a bit more logging to track down network state issues.Jean-Baptiste Queru2009-09-223-11/+51
| | | | BUG=2055624
* Add logging to track connectivity as seen from the Download Manager.Jean-Baptiste Queru2009-09-213-0/+41
| | | | | | | 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
* am d3403254: Enable full logging (for easier debugging)Jean-Baptiste Queru2009-07-141-1/+1
|\ | | | | | | | | | | | | Merge commit 'd3403254c3a290b6a68804c36c6876cb3787ec15' * commit 'd3403254c3a290b6a68804c36c6876cb3787ec15': Enable full logging (for easier debugging)
| * Enable full logging (for easier debugging)Jean-Baptiste Queru2009-07-141-1/+1
| | | | | | | | See http://b/1973844
* | Merge commit 'f0fa1cdc' into manualmergeJean-Baptiste Queru2009-07-062-2/+3
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Fix crash in discardPurgeableFiles with proper selection syntax.Jean-Baptiste Queru2009-07-022-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * Automated import from //branches/donutburger/...@140733,140733Feng Qian2009-03-241-1/+1
| |
* | Merge commit 'korg/cupcake'The Android Open Source Project2009-03-271-6/+23
|\ \ | | | | | | | | | | | | Conflicts: src/com/android/providers/downloads/DownloadThread.java
| * | auto import from //branches/cupcake_rel/...@141571The Android Open Source Project2009-03-191-1/+1
| |/
| * auto import from //branches/cupcake_rel/...@140373The Android Open Source Project2009-03-181-7/+24
| |
* | Merge commit 'remotes/korg/cupcake' into mergeJean-Baptiste Queru2009-03-171-2/+2
|\| | | | | | | | | | | | | Conflicts: docs/index.html src/com/android/providers/downloads/DownloadProvider.java src/com/android/providers/downloads/DownloadService.java
| * auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-039-0/+3969
| |
| * auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-039-3969/+0
| |
| * auto import from //branches/cupcake/...@132276The Android Open Source Project2009-02-192-5/+4
| |
| * auto import from //branches/cupcake/...@130745The Android Open Source Project2009-02-101-8/+14
| |
* | Make the DownloadProvider work in the simulatorJean-Baptiste Queru2009-02-271-1/+2
| |
* | Optimize call to queryIntentActivities()Jean-Baptiste Queru2009-02-271-4/+2
| | | | | | | | | | | | | | | | 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.
* | Refine interaction between destination and default visibility.Jean-Baptiste Queru2009-02-061-8/+14
| | | | | | | | | | | | 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).
* | Force sync the downloaded file to the storage after completion.Dennis Hsieh2009-01-211-0/+15
| | | | | | | | | | | | 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.
* | Use the new download manager APIs introduced in change 7400Jean-Baptiste Queru2009-01-217-153/+173
| |
* | Match the official code style guide.Jean-Baptiste Queru2009-01-209-327/+341
|/ | | | | | 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.
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-178-462/+1074
|
* Initial ContributionThe Android Open Source Project2008-10-219-0/+3352