summaryrefslogtreecommitdiffstats
path: root/src/com/android/providers/downloads/Helpers.java
Commit message (Collapse)AuthorAgeFilesLines
* Allow any file type to be downloadedEddie Ringle2010-04-241-25/+0
| | | | Signed-off-by: Eddie Ringle <eddie@eringle.net>
* Merge commit 'f0fa1cdc' into manualmergeJean-Baptiste Queru2009-07-061-2/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-021-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+793
| |
| * auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-793/+0
| |
| * auto import from //branches/cupcake/...@132276The Android Open Source Project2009-02-191-3/+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.
* | Use the new download manager APIs introduced in change 7400Jean-Baptiste Queru2009-01-211-4/+4
| |
* | Match the official code style guide.Jean-Baptiste Queru2009-01-201-4/+4
|/ | | | | | 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-171-104/+388
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+510