OSDN Git Service

android-x86/packages-providers-DownloadProvider.git
14 years agoset permission to 0711 and only after successfully mkdir donut-x86 android-x86-1.6
Chih-Wei Huang [Tue, 15 Sep 2009 05:42:55 +0000 (13:42 +0800)]
set permission to 0711 and only after successfully mkdir

14 years agochange the permission of the download directory.
Yi Sun [Tue, 15 Sep 2009 02:20:43 +0000 (19:20 -0700)]
change the permission of the download directory.

14 years agomerge from donut
Jean-Baptiste Queru [Thu, 3 Sep 2009 21:13:17 +0000 (14:13 -0700)]
merge from donut

14 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Mon, 3 Aug 2009 23:30:42 +0000 (16:30 -0700)]
Import revised translations.  DO NOT MERGE

14 years agomerge from donut
Jean-Baptiste Queru [Wed, 29 Jul 2009 21:57:07 +0000 (14:57 -0700)]
merge from donut

14 years agoMerge korg/donut into korg/master
Jean-Baptiste Queru [Sun, 26 Jul 2009 03:44:56 +0000 (20:44 -0700)]
Merge korg/donut into korg/master

Conflicts:

src/com/android/providers/downloads/DownloadProvider.java
src/com/android/providers/downloads/Helpers.java

14 years agoEnable full logging (for easier debugging)
Jean-Baptiste Queru [Tue, 14 Jul 2009 22:11:48 +0000 (15:11 -0700)]
Enable full logging (for easier debugging)

See http://b/1973844

14 years agoImport new translations
Eric Fischer [Mon, 13 Jul 2009 22:54:37 +0000 (15:54 -0700)]
Import new translations

14 years agoFix crash in discardPurgeableFiles with proper selection syntax.
Jean-Baptiste Queru [Wed, 1 Jul 2009 22:27:28 +0000 (15:27 -0700)]
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.

14 years agoMerge change 4415 into donut
Android (Google) Code Review [Tue, 16 Jun 2009 23:53:04 +0000 (16:53 -0700)]
Merge change 4415 into donut

* changes:
  Make name of Download Provider localizable.

14 years agoMake name of Download Provider localizable.
Eric Fischer [Tue, 16 Jun 2009 23:34:08 +0000 (16:34 -0700)]
Make name of Download Provider localizable.

14 years agoAdd DownloadProvider permission tests.
Brett Chabot [Mon, 15 Jun 2009 23:36:38 +0000 (16:36 -0700)]
Add DownloadProvider permission tests.

14 years agoAdd permission test app structure for download provider.
Brett Chabot [Mon, 15 Jun 2009 19:27:58 +0000 (12:27 -0700)]
Add permission test app structure for download provider.

14 years agoam aa975b5c: AI 149721: Import Portuguese translations.
Eric Fischer [Wed, 10 Jun 2009 19:32:06 +0000 (12:32 -0700)]
am aa975b5c: AI 149721: Import Portuguese translations.

Merge commit 'aa975b5cd35058678effbf234ae9340aa1413024' into donut

* commit 'aa975b5cd35058678effbf234ae9340aa1413024':
  AI 149721: Import Portuguese translations.

14 years agoAI 149721: Import Portuguese translations.
Eric Fischer [Wed, 10 Jun 2009 19:26:09 +0000 (12:26 -0700)]
AI 149721: Import Portuguese translations.

Automated import of CL 149721

14 years agoDownloadProvider: Rename WRITE_SDCARD -> WRITE_EXTERNAL_STORAGE
San Mehat [Mon, 1 Jun 2009 16:26:42 +0000 (09:26 -0700)]
DownloadProvider: Rename WRITE_SDCARD -> WRITE_EXTERNAL_STORAGE

Signed-off-by: San Mehat <san@google.com>
14 years agoRename SDCARD_WRITE to WRITE_SDCARD.
Dianne Hackborn [Wed, 13 May 2009 22:08:51 +0000 (15:08 -0700)]
Rename SDCARD_WRITE to WRITE_SDCARD.

14 years agoam 4f8a76e: AI 148147: Import lots of zh_TW translation changes.
Eric Fischer [Fri, 1 May 2009 00:59:45 +0000 (17:59 -0700)]
am 4f8a76e: AI 148147: Import lots of zh_TW translation changes.

Merge commit '4f8a76e2c7e463c36fbb6bdd16576c9db01a2e78' into donut

* commit '4f8a76e2c7e463c36fbb6bdd16576c9db01a2e78':
  AI 148147: Import lots of zh_TW translation changes.

14 years agoAI 148147: Import lots of zh_TW translation changes.
Eric Fischer [Fri, 1 May 2009 00:32:16 +0000 (17:32 -0700)]
AI 148147: Import lots of zh_TW translation changes.

Automated import of CL 148147

14 years agoMerge commit 'korg/donut'
The Android Open Source Project [Fri, 24 Apr 2009 20:55:03 +0000 (13:55 -0700)]
Merge commit 'korg/donut'

15 years agodownloadprovider: Add SDCARD_WRITE permission to manifest
San Mehat [Thu, 23 Apr 2009 18:51:25 +0000 (11:51 -0700)]
downloadprovider: Add SDCARD_WRITE permission to manifest

Signed-off-by: San Mehat <san@google.com>
15 years agomerge cupcake into donut
Jean-Baptiste Queru [Thu, 23 Apr 2009 00:57:00 +0000 (17:57 -0700)]
merge cupcake into donut

15 years agoAI 146365: Import revised translations.
Eric Fischer [Wed, 15 Apr 2009 20:30:20 +0000 (13:30 -0700)]
AI 146365: Import revised translations.
  DO NOT MERGE

Automated import of CL 146365

15 years agoMerge commit 'korg/cupcake'
The Android Open Source Project [Fri, 27 Mar 2009 22:39:32 +0000 (15:39 -0700)]
Merge commit 'korg/cupcake'

Conflicts:
src/com/android/providers/downloads/DownloadThread.java

15 years agoAutomated import from //branches/donutburger/...@140733,140733
Feng Qian [Wed, 25 Mar 2009 01:21:37 +0000 (18:21 -0700)]
Automated import from //branches/donutburger/...@140733,140733

15 years agoauto import from //branches/cupcake_rel/...@141571
The Android Open Source Project [Fri, 20 Mar 2009 06:08:57 +0000 (23:08 -0700)]
auto import from //branches/cupcake_rel/...@141571

15 years agoauto import from //branches/cupcake_rel/...@140373
The Android Open Source Project [Thu, 19 Mar 2009 00:39:49 +0000 (17:39 -0700)]
auto import from //branches/cupcake_rel/...@140373

15 years agoMerge commit 'remotes/korg/cupcake' into merge
Jean-Baptiste Queru [Tue, 17 Mar 2009 23:35:01 +0000 (16:35 -0700)]
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

15 years agoauto import from //branches/cupcake/...@137197
The Android Open Source Project [Mon, 9 Mar 2009 18:52:14 +0000 (11:52 -0700)]
auto import from //branches/cupcake/...@137197

15 years agoauto import from //depot/cupcake/@135843
The Android Open Source Project [Wed, 4 Mar 2009 03:32:40 +0000 (19:32 -0800)]
auto import from //depot/cupcake/@135843

15 years agoauto import from //depot/cupcake/@135843
The Android Open Source Project [Wed, 4 Mar 2009 02:28:53 +0000 (18:28 -0800)]
auto import from //depot/cupcake/@135843

15 years agoauto import from //depot/cupcake/@132589
The Android Open Source Project [Tue, 3 Mar 2009 22:04:37 +0000 (14:04 -0800)]
auto import from //depot/cupcake/@132589

15 years agoauto import from //depot/cupcake/@137055
The Android Open Source Project [Tue, 3 Mar 2009 06:54:45 +0000 (22:54 -0800)]
auto import from //depot/cupcake/@137055

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 agoauto import from //branches/cupcake/...@132276
The Android Open Source Project [Thu, 19 Feb 2009 18:57:36 +0000 (10:57 -0800)]
auto import from //branches/cupcake/...@132276

15 years agoauto import from //branches/cupcake/...@130745
The Android Open Source Project [Tue, 10 Feb 2009 23:44:05 +0000 (15:44 -0800)]
auto import from //branches/cupcake/...@130745

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