OSDN Git Service

android-x86/packages-providers-DownloadProvider.git
15 years agoMake the DownloadProvider work in the simulator
Jean-Baptiste Queru [Sat, 28 Feb 2009 01:22:12 +0000 (17:22 -0800)]
Make the DownloadProvider work in the simulator

15 years agoMerge
Android Code Review [Sat, 28 Feb 2009 00:58:50 +0000 (16:58 -0800)]
Merge

15 years agoOptimize call to queryIntentActivities()
Jean-Baptiste Queru [Sat, 28 Feb 2009 00:53:12 +0000 (16:53 -0800)]
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.

15 years agoRemove stale uses-permission tag.
Jean-Baptiste Queru [Fri, 27 Feb 2009 19:30:32 +0000 (11:30 -0800)]
Remove stale uses-permission tag.

That was a leftover of a stub in 1.0 that was meant to become a download UI API
but got struck by bitrot and got deleted in a cleanup.

15 years agoMerge
Android Code Review [Mon, 9 Feb 2009 17:57:58 +0000 (09:57 -0800)]
Merge

15 years agoRefine interaction between destination and default visibility.
Jean-Baptiste Queru [Fri, 6 Feb 2009 19:09:27 +0000 (11:09 -0800)]
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).

15 years agoDocumentation about the download manager
Jean-Baptiste Queru [Fri, 6 Feb 2009 00:33:14 +0000 (16:33 -0800)]
Documentation about the download manager

15 years agoMerge branch 'cupcake'
The Android Open Source Project [Thu, 22 Jan 2009 08:16:15 +0000 (00:16 -0800)]
Merge branch 'cupcake'

15 years agoauto import from //branches/cupcake/...@127436
The Android Open Source Project [Thu, 22 Jan 2009 08:13:45 +0000 (00:13 -0800)]
auto import from //branches/cupcake/...@127436

15 years agoForce sync the downloaded file to the storage after completion.
Dennis Hsieh [Mon, 29 Dec 2008 05:18:07 +0000 (13:18 +0800)]
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.

15 years agoUse the new download manager APIs introduced in change 7400
Jean-Baptiste Queru [Tue, 20 Jan 2009 19:05:32 +0000 (11:05 -0800)]
Use the new download manager APIs introduced in change 7400

15 years agoMatch the official code style guide.
Jean-Baptiste Queru [Tue, 20 Jan 2009 18:08:46 +0000 (10:08 -0800)]
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.

15 years agoMerge branch 'cupcake'
android-build SharedAccount [Fri, 16 Jan 2009 00:16:09 +0000 (16:16 -0800)]
Merge branch 'cupcake'

15 years agoauto import from //branches/cupcake/...@126645
The Android Open Source Project [Fri, 16 Jan 2009 00:12:14 +0000 (16:12 -0800)]
auto import from //branches/cupcake/...@126645

15 years agoMerge branch 'cupcake'
The Android Open Source Project [Sat, 10 Jan 2009 02:04:23 +0000 (18:04 -0800)]
Merge branch 'cupcake'

15 years agoauto import from //branches/cupcake/...@125939
The Android Open Source Project [Sat, 10 Jan 2009 01:51:25 +0000 (17:51 -0800)]
auto import from //branches/cupcake/...@125939

15 years agoCode drop from //branches/cupcake/...@124589
The Android Open Source Project [Thu, 18 Dec 2008 02:06:03 +0000 (18:06 -0800)]
Code drop from //branches/cupcake/...@124589

15 years agoInitial Contribution
The Android Open Source Project [Tue, 21 Oct 2008 14:00:00 +0000 (07:00 -0700)]
Initial Contribution