summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Added support for downloading files with unicode charactersfroyo-stablefroyoAndreas Sandblad2010-09-011-2/+52
| | | | | | | | | | | Currently only certain ASCII characters are allowed in a filename, all other characters are replaced with an underscore. This gives bad usability for foreign languages (e.g. japanese). This fix replaces the current regexp with a method which replaces only those characters unsafe to be used on VFAT filesystems (should work on most other filesystems as well). Change-Id: I114d47b4b35f28490e6b12493138355532fda499
* Use proxy for downloads.Andreas Sandblad2010-07-241-1/+7
| | | | | | | Uses the new Proxy method getPreferredHttpHost to easily get correct proxy. Change-Id: If859ad03c2ed5a896c62592aa131d0e79d1b9c02
* Incorporated EddieRingle's allow any file type to be downloadedkmobs2010-06-252-62/+0
|
* Don't try to purge the dalvik-cache directory on /cache.Steve Kondik2010-06-242-4/+7
|
* am 09330001: Import revised translationsKenny Root2010-06-212-6/+6
|\ | | | | | | | | | | | | Merge commit '09330001cc50f8a5ffe2ef527dbb5729080f52e2' into froyo-plus-aosp * commit '09330001cc50f8a5ffe2ef527dbb5729080f52e2': Import revised translations
| * Import revised translationsKenny Root2010-06-202-6/+6
| | | | | | | | Change-Id: I012450adc3ff91ce5cfbd28e21eed1aa6833c56f
* | merge from open-source masterThe Android Open Source Project2010-05-101-1/+13
|\ \ | |/ |/| | | Change-Id: If84d4054324db6d10fd0cdbd2169c039c6675726
| * code left opened files behindusul2010-05-101-1/+13
| | | | | | | | | | | | | | verified with lsof DownloadProvider after downloading a file shows: ${proc} 338 10034 33w REG 179,0 167634 5 /sdcard/download/fw4-1.pdf Change-Id: I8e2412fe9a6348f5ece6f5ca3a9ebf99a4474bce
| * Merge "Show correct date for downloads in the statusbar"Jean-Baptiste Queru2010-05-101-2/+1
| |\
| | * Show correct date for downloads in the statusbarPer Edelberg2010-02-101-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The date was not set properly in notifications when the text for expanded view was created. This fix sets the displayed time to the download time for each individual file. The DownloadProvider recreates the notifications several times but don't set the time before the expanded message is created. The expanded message will therefore display the time the notification was created and not the time a file was downloaded. The displayed time will in most case be the time when the last file was downloaded. This fix sets the displayed time to the downloaded time for each individual file.
* | | Import revised translationsKenny Root2010-04-274-6/+6
| | | | | | | | | | | | Change-Id: I800cdf6e7d34180e13d7af74abfe0887e1f20316
* | | Adjust DownloadProvider's makefile so its tests get built.Brett Chabot2010-04-051-0/+3
| | | | | | | | | | | | | | | | | | Bug 2562721 Change-Id: I7dfd73d4e30fcc5dc80c9ed024432c0b833a011a
* | | Import revised translationsKenny Root2010-03-1720-40/+60
| | | | | | | | | | | | Change-Id: Iac9bc801179d35cf266b6398c2c6557f5abc524e
* | | Add an empty CleanSpec.mkJean-Baptiste Queru2010-03-081-0/+49
| | | | | | | | | | | | Change-Id: Idbb6ff1607b2885ed2da0749fc99b39f815fac15
* | | Import new translationsEric Fischer2010-03-041-4/+2
| | |
* | | Import new translations.Eric Fischer2010-02-2620-0/+42
| | |
* | | Update to reflect android-common no longer in framework.Dianne Hackborn2010-02-241-1/+1
| | |
* | | Supply a Context to AndroidHttpClient.newInstance(), to enableDan Egnor2010-02-101-1/+1
| | | | | | | | | | | | persistent SSL session caching.
* | | am 29ca9e3a: am 7f75be7e: reconcile main tree with open-source eclairThe Android Open Source Project2010-02-050-0/+0
|\| | | | | | | | | | | | | | | | | | | | Merge commit '29ca9e3a63b63f71b0c4ab9544d0bd5361386751' * commit '29ca9e3a63b63f71b0c4ab9544d0bd5361386751': android-2.1_r1 snapshot
| * | am 7f75be7e: reconcile main tree with open-source eclairThe Android Open Source Project2010-02-050-0/+0
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '7f75be7ea7027a2ad6e7564195333fd075c0b1a0' into eclair-plus-aosp * commit '7f75be7ea7027a2ad6e7564195333fd075c0b1a0': android-2.1_r1 snapshot
| | * \ reconcile main tree with open-source eclairThe Android Open Source Project2010-02-050-0/+0
| | |\ \
| | | * | reconcile android-2.1_r1 snapshotThe Android Open Source Project2010-01-290-0/+0
| | |/| |
| | | * | android-2.1_r1 snapshotThe Android Open Source Project2010-01-122-5/+5
| | | | |
* | | | | Create a new permission that allows apps to see downloads from otherLeon Scroggins2010-02-054-29/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | Grant access to downloaded packages to default container.Suchi Amalapurapu2010-01-271-3/+33
| | | | | | | | | | | | | | | | | | | | | | | | | The package name is hardcoded for now but will eventually move to a separate gid guarded by a permission.
* | | | | b/2383073 Use new fine-grained download status codes.Attila Bodis2010-01-261-29/+36
| | | | | | | | | | | | | | | | | | | | | | | | | Takes advantage of two new download status codes (STATUS_DEVICE_NOT_FOUND_ERROR and STATUS_INSUFFICIENT_SPACE_ERROR) when reporting failed download attempts.
* | | | | Revert "Download files even if there is no activity to launch them."Leon Scroggins2010-01-223-11/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | Update the title of the download based on the filename.Leon Scroggins2010-01-211-6/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | Download files even if there is no activity to launch them.Leon Scroggins2010-01-213-68/+11
| | | | | | | | | | | | | | | | | | | | Fixes http://b/issue?id=2367247
* | | | | Use the private legacy APIJean-Baptiste Queru2010-01-148-320/+336
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | Deprecate fill_parent and introduce match_parent.Romain Guy2010-01-081-10/+10
| | | | | | | | | | | | | | | | | | | | Bug: #2361749.
* | | | | Update with latest translations.Eric Fischer2010-01-0720-45/+5
| | | | |
* | | | | remove ACCESS_CACHE_FILESYSTEM permissionDoug Zongker2010-01-062-24/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Its definition is moving to frameworks/base. Change-Id: Ieb0409c458939c14e2cc8b5bdbcef14564a59c55
* | | | | explicit set an "optional" tagJean-Baptiste Queru2010-01-051-0/+2
| | | | |
* | | | | Merge commit 'goog/eclair-plus-aosp'Android Git Automerger2009-12-150-0/+0
|\| | | |
| * | | | am a61606af: Import revised translations. DO NOT MERGEEric Fischer2009-11-301-1/+1
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'a61606af5d154cd6281bd5f5de9e01e7240cca53' into eclair-plus-aosp * commit 'a61606af5d154cd6281bd5f5de9e01e7240cca53': Import revised translations. DO NOT MERGE
* | | | | am 31342163: am dc0accaa: Changed class paths for classes moved in ↵Paul Westbrook2009-12-141-1/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | unbundling effort Merge commit '313421638f1fa01bf269350fd32d4e4df8afbc5e' * commit '313421638f1fa01bf269350fd32d4e4df8afbc5e': Changed class paths for classes moved in unbundling effort
| * \ \ \ \ am dc0accaa: Changed class paths for classes moved in unbundling effortPaul Westbrook2009-12-141-1/+2
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'dc0accaaa66cdd7321505a8c42504b05a98ae341' into eclair-mr2-plus-aosp * commit 'dc0accaaa66cdd7321505a8c42504b05a98ae341': Changed class paths for classes moved in unbundling effort
| | * | | | | Changed class paths for classes moved in unbundling effortPaul Westbrook2009-12-141-1/+2
| | | | | | |
* | | | | | | am e88706b9: (-s ours) am b0033a36: am a61606af: (-s ours) Import revised ↵Eric Fischer2009-12-010-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | translations. DO NOT MERGE Merge commit 'e88706b900716b2cfaa917efdd320e6bef7b21fa' * commit 'e88706b900716b2cfaa917efdd320e6bef7b21fa': Import revised translations. DO NOT MERGE
| * | | | | | am b0033a36: am a61606af: (-s ours) Import revised translations. DO NOT MERGEEric Fischer2009-12-010-0/+0
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'b0033a369377c3cfba1121f7ed7941165cc1c415' into eclair-mr2-plus-aosp * commit 'b0033a369377c3cfba1121f7ed7941165cc1c415': Import revised translations. DO NOT MERGE
| | * | | | | am a61606af: (-s ours) Import revised translations. DO NOT MERGEEric Fischer2009-12-010-0/+0
| | |\ \ \ \ \ | | | | |/ / / | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'a61606af5d154cd6281bd5f5de9e01e7240cca53' into eclair-mr2 * commit 'a61606af5d154cd6281bd5f5de9e01e7240cca53': Import revised translations. DO NOT MERGE
| | | * | | | Import revised translations. DO NOT MERGEEric Fischer2009-11-301-1/+1
| | | | | | |
* | | | | | | am 5b9bcf8d: am 18c30402: Fix Download application notification timestamp ↵Lixin Yue2009-11-251-2/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | not correct issue Merge commit '5b9bcf8d3f74b8827b2a2e1f148d8ccd574083c8' * commit '5b9bcf8d3f74b8827b2a2e1f148d8ccd574083c8': Fix Download application notification timestamp not correct issue
| * | | | | | am 18c30402: Fix Download application notification timestamp not correct issueLixin Yue2009-11-251-2/+2
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '18c3040260907472a9e471e5707a5b2f8320d074' into eclair-mr2-plus-aosp * commit '18c3040260907472a9e471e5707a5b2f8320d074': Fix Download application notification timestamp not correct issue
| | * | | | | 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).
* | | | | | | am caec636f: am 89f9c9b4: change ACCESS_CACHE_FILESYSTEM to signatureOrSystemDoug Zongker2009-11-171-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'caec636f568242f59196fec7487051d535c236e6' * commit 'caec636f568242f59196fec7487051d535c236e6': change ACCESS_CACHE_FILESYSTEM to signatureOrSystem
| * | | | | | am 89f9c9b4: change ACCESS_CACHE_FILESYSTEM to signatureOrSystemDoug Zongker2009-11-171-1/+1
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '89f9c9b4ccc22bc1f37edf5effa518970d342808' into eclair-mr2-plus-aosp * commit '89f9c9b4ccc22bc1f37edf5effa518970d342808': change ACCESS_CACHE_FILESYSTEM to signatureOrSystem
| | * | | | | change ACCESS_CACHE_FILESYSTEM to signatureOrSystemDoug Zongker2009-11-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Needed for unbundling of google OTA.
* | | | | | | am c2c3d692: merge from open-source masterJean-Baptiste Queru2009-11-150-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'c2c3d69268004ebe055dd7dfa63bed1818cc4334' * commit 'c2c3d69268004ebe055dd7dfa63bed1818cc4334': eclair snapshot