summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Crespo4G: Fix file downloads via browser over WiMax - 2 of 2Robert Burns2011-12-221-0/+3
| | | | | | | | | | | | | | After developing the fix, reviewed history and found the following two commits: Add the same logic... https://github.com/CyanogenMod/android_packages_providers_DownloadProvider/commit/0a77c62a82503b38c484e0079648f0231dd85d53 Removed the logic... https://github.com/CyanogenMod/android_packages_providers_DownloadProvider/commit/ebb555c0687061993dd6a22d15f6aab2437ee8c5 Not a real clear explanation of why it was removed Change-Id: I852927649204a89d9960338a272ea1e62b4f5167
* Import revised translations. DO NOT MERGEEric Fischer2011-11-292-3/+3
| | | | Change-Id: I8037964fb975a4ba0490449373e7be080c3411c6
* Import revised translations. DO NOT MERGEEric Fischer2011-11-211-1/+1
| | | | Change-Id: Icfdd04948a2e7d4d6de4b79b7d0cfe44106100a1
* Import revised translations. DO NOT MERGEEric Fischer2011-11-164-5/+5
| | | | Change-Id: I8808da2bd48c0f91584ef716c4882ee9ce1f38d3
* am 8ed79f16: Import revised translations. DO NOT MERGEEric Fischer2011-11-151-1/+1
|\ | | | | | | | | * commit '8ed79f165424c5243e7065d9c4187cde8eacb071': Import revised translations. DO NOT MERGE
| * Import revised translations. DO NOT MERGEEric Fischer2011-11-141-1/+1
| | | | | | | | Change-Id: Ia56a0446aef9b293d86936aaf1a1399fc977a433
* | Import revised translations. DO NOT MERGEEric Fischer2011-11-016-14/+214
| | | | | | | | Change-Id: I41cac0aeb387bcf15c13cc5971ee0a4cf46a7b9e
* | am aed71cf0: (-s ours) Import revised translations. DO NOT MERGEEric Fischer2011-10-270-0/+0
|\| | | | | | | | | * commit 'aed71cf0302154814ad969b798776e003524b0dc': Import revised translations. DO NOT MERGE
| * Import revised translations. DO NOT MERGEEric Fischer2011-10-272-3/+3
| | | | | | | | Change-Id: I374bd941c768d24f14c73c1a3fe10f9130a85e37
* | Merge "Import revised translations. DO NOT MERGE" into ics-mr1Eric Fischer2011-10-276-14/+14
|\ \
| * | Import revised translations. DO NOT MERGEEric Fischer2011-10-266-14/+14
| | | | | | | | | | | | Change-Id: I3b4ef91d72729bea21ad384b11f44f61de4f36bf
* | | am 89b10fff: (-s ours) Import revised translations. DO NOT MERGEEric Fischer2011-10-260-0/+0
|\ \ \ | |/ / |/| / | |/ | | * commit '89b10fffc3be35dd469b12c0d35c4b2589f56133': Import revised translations. DO NOT MERGE
| * Import revised translations. DO NOT MERGEEric Fischer2011-10-262-4/+4
| | | | | | | | Change-Id: I43a11eb3d7445405a52375cd84c569e22fd73199
* | Import revised translations. DO NOT MERGEEric Fischer2011-10-2647-600/+600
| | | | | | | | Change-Id: I38a12a19cae3a985f315a4cacc10eca2dbeb1a1c
* | Merge remote branch 'goog/ics-mr0' into ics-mr1Ed Heyl2011-10-251-7/+7
|\|
| * Merge "Sanity check only after updating from file size." into ics-mr0Jeff Sharkey2011-10-251-7/+7
| |\
| | * Sanity check only after updating from file size.Jeff Sharkey2011-10-241-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | Database values can be stale, so delay sanity check until after updating from file size on disk. Bug: 5484249 Change-Id: Ia648a575d4a3a391a1f06a866c8282f2d569f15e
* | | am 3074179d: Merge "add more logging when download manager deletes files" ↵Doug Zongker2011-10-181-6/+6
|\| | | | | | | | | | | | | | | | | | | | into ics-mr0 * commit '3074179d22e9d7e1f506b85dca866301a6206156': add more logging when download manager deletes files
| * | Merge "add more logging when download manager deletes files" into ics-mr0Doug Zongker2011-10-181-6/+6
| |\ \
| | * | add more logging when download manager deletes filesDoug Zongker2011-10-181-6/+6
| | |/ | | | | | | | | | Change-Id: I4d402e28996887fc1dba89b2764575c91c2c523b
* | | Merge "Import revised translations."Eric Fischer2011-10-183-1/+101
|\ \ \
| * | | Import revised translations.Eric Fischer2011-10-183-1/+101
| | | | | | | | | | | | | | | | Change-Id: I868e251a1d1f29398ee9ae5546228d65b5059fb8
* | | | fix build break (unescaped apostrophe in string)Doug Zongker2011-10-181-1/+1
| | | | | | | | | | | | | | | | Change-Id: I82abd3eac4f22cc7a71ad6f74335f50800b54ea2
* | | | am 3d2ccc9f: Merge "log when DownloadManager deletes files" into ics-mr0Doug Zongker2011-10-180-0/+0
|\ \ \ \ | | |/ / | |/| | | | | | | | | | * commit '3d2ccc9f61fbf6bc8a89cd373fb8a9d504faf765': log when DownloadManager deletes files
| * | | Merge "log when DownloadManager deletes files" into ics-mr0Doug Zongker2011-10-181-0/+1
| |\ \ \
| | * | | log when DownloadManager deletes filesDoug Zongker2011-10-181-0/+1
| | | |/ | | |/| | | | | | | | | Change-Id: I39bcb3c7c4625659b0e8b0f3e2971beabb017b48
* | | | am adbfa3ee: (-s ours) Import revised translations. DO NOT MERGEEric Fischer2011-10-180-0/+0
|\| | | | | | | | | | | | | | | | | | | * commit 'adbfa3eea3eb9ee0689282a3fe21d4421b2162dc': Import revised translations. DO NOT MERGE
| * | | Import revised translations. DO NOT MERGEEric Fischer2011-10-183-1/+101
| |/ / | | | | | | | | | Change-Id: Id9c8c3d750ed1eed3251a867ef3e3c4b24409899
* | / String edits to bring UI text to standards.Claudia de Veaux2011-10-171-23/+23
| |/ |/| | | | | | | | | Bugs: 5165745, 5163232, 5162668, 5162667, 5162328 Change-Id: I1d7ae9b5a95d2a16a1f3d1b74076c052d2748e8d
* | am c5c30ba1: NPE check before finalizeDestinationFile().Jeff Sharkey2011-10-171-3/+5
|\| | | | | | | | | * commit 'c5c30ba14d411b3e23c983912e7fea4f449c9f54': NPE check before finalizeDestinationFile().
| * NPE check before finalizeDestinationFile().Jeff Sharkey2011-10-141-3/+5
| | | | | | | | | | Bug: 5461417 Change-Id: I16f1e8594162b006b80bf7f2cdc6630d0dedfa38
* | Fix test to match behavior after 5196436.Jeff Sharkey2011-10-131-11/+2
| | | | | | | | Change-Id: Idfd4da891a6709504ea4f0cc72701400f63e0c2d
* | Merge "Check canonical path when download requested."Jeff Sharkey2011-10-121-4/+10
|\ \
| * | Check canonical path when download requested.Jeff Sharkey2011-10-121-4/+10
| | | | | | | | | | | | | | | Bug: 5449870 Change-Id: I3219273be9b796b123545c811e5f39fa83b5768e
* | | log when DownloadManager deletes filesDoug Zongker2011-10-111-0/+1
| |/ |/| | | | | Change-Id: Id4800401c16811df9c4ee78ee9636c77b4c95756
* | Import revised translations.Eric Fischer2011-10-103-5/+5
|/ | | | Change-Id: Icdad7d9cfcdcc87085094f96fffb77dee63d85ab
* Import revised translations.Eric Fischer2011-09-303-8/+8
| | | | Change-Id: I32de5a902b7ed375484896fcfc3f98b51b786796
* am b395484d: Updated Download Manager launcher iconJustin Ho2011-09-255-0/+0
|\ | | | | | | | | * commit 'b395484dd0c2ecf5f15dd3aa1d55aa869c905b19': Updated Download Manager launcher icon
| * Updated Download Manager launcher iconJustin Ho2011-09-255-0/+0
| | | | | | | | Change-Id: I77289d1c116105fcb0aaab8d88acb2e7c7d3c506
* | am 15139db3: (-s ours) Import revised translations. DO NOT MERGEEric Fischer2011-09-230-0/+0
|\| | | | | | | | | * commit '15139db3842cc44d787bccc1a005b67fa76e2d27': Import revised translations. DO NOT MERGE
| * Import revised translations. DO NOT MERGEEric Fischer2011-09-232-7/+7
| | | | | | | | Change-Id: I7f7f697ed9f6b69580ab8322257fc71de019f271
* | am 09157020: (-s ours) Import revised translations. DO NOT MERGEEric Fischer2011-09-200-0/+0
|\| | | | | | | | | * commit '09157020654443be9a2f212c0956c71116d92721': Import revised translations. DO NOT MERGE
| * Import revised translations. DO NOT MERGEEric Fischer2011-09-201-1/+1
| | | | | | | | Change-Id: I4f636200a1ad8be0af727b49f5a77f927d087fa9
* | Import revised translations.Eric Fischer2011-09-208-100/+52
| | | | | | | | Change-Id: Ifb158e11407065cdca553239636b8cc0829c8a2a
* | am 8c72a589: (-s ours) Import revised translations. DO NOT MERGEEric Fischer2011-09-160-0/+0
|\| | | | | | | | | * commit '8c72a589fa8cd515e0c8548395161c1607db220b': Import revised translations. DO NOT MERGE
| * Import revised translations. DO NOT MERGEEric Fischer2011-09-168-100/+52
|/ | | | Change-Id: I0581904e6a520f854c3252ba8b2650ee97c468e5
* Import revised translations.Eric Fischer2011-09-121-1/+1
| | | | Change-Id: Ia3028b91ac7e9cfb5ce86983bf033871bb48d0b1
* Don't change extensions for explicitly set download locations.Jeff Davidson2011-08-301-8/+18
| | | | | | | | | | | | | | This regression from GB was introduced by 38f1711910715538d6b64e505fe8fb9a0cd40475, which was intended to allow duplicate downloads of the same file, adding -<n> to the end of file names. As a side effect, this also activated extension validation logic, which adds/changes an extension to match the Mimetype. This change keeps the unique filename logic but prevents extension changes when an explicit filename is set. Thus, it is still possible for the actual download location to differ from the requested one, but only if the file already exists. Bug: 5196436 Change-Id: I198dc2a819c5d839a05b72c25e0830d889a9c5a3
* fix DownloadThread's use of ETag, range headersDoug Zongker2011-08-291-46/+54
| | | | | | | | | | | | | | | | | | DownloadThread was only maintaining ETag and the file size for the duration of one HTTP request, rather than over all the requests needed to fetch a file, which kind of defeats the point of having them. Fix this by moving several state variables from InnerState to State, and initializing the total bytes and current bytes values from the download database. Skip actually making the HTTP request if we've already downloaded all the bytes of the file. This works around bug 5217390 by making the second DownloadThread do nothing instead of trying to fetch past the end of the file. (A real fix would eliminate the race condition that causes the second thread to get created in the first place.) Bug: 5217390 Change-Id: Ib5b8f87398b4ed2cb3d7f09569e245b55a89da5a
* Import revised translations.Eric Fischer2011-08-261-1/+1
| | | | Change-Id: I877e87e32d7c452ce7a9d1a6482c27305f777db4