summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* DownloadManager : Only remove stale id if download is not deletedDanesh Mondegarian2015-06-161-1/+1
| | | | | | | | This addresses the issue where if a download is enqueued and right after deleted, the notification doesn't stick around. Change-Id: Ie1ec08fc94420b0f46e1543ed52afd8c22aee372 (cherry picked from commit 794ab54677c50bac5c0f32bc5d9ad768ff10c039)
* DownloadManager: allow ACCESS_ALL_DOWNLOADS to be granted via whitelistRoman Birg2015-06-151-1/+3
| | | | | Change-Id: I3e4a9a9475a9e03d7a22ae46344622ea5d41b947 Signed-off-by: Roman Birg <roman@cyngn.com>
* Automatic translation importMichael Bestas2015-06-132-0/+48
| | | | Change-Id: I03360e060e5ac23729b5ed9f7d014901731239ab
* Automatic translation importMichael Bestas2015-05-241-1/+1
| | | | Change-Id: I502c6fa59babc5bb244a5c83a9f4806b29054c2c
* Automatic translation importMichael Bestas2015-05-164-7/+0
| | | | Change-Id: I4872b638611da4b45546a8a1c83a6744d2c76477
* Automatic translation importMichael Bestas2015-05-022-0/+51
| | | | Change-Id: I370caafc85cdcc0572c957f3c8d5fc227bd6909e
* Automatic translation importstable/cm-12.1-YOG3CMichael Bestas2015-04-174-2/+64
| | | | Change-Id: Iaff268dcb9907a46702dfeaf106c0263a15e31d1
* Automatic translation importMichael Bestas2015-04-171-6/+6
| | | | Change-Id: I78657e7160bf1ca60271984d56344a588ffbf0ae
* Automatic translation importMichael Bestas2015-04-171-1/+1
| | | | Change-Id: Ibbc67e28ce7e312fc66deb7b60f9e69716f14524
* Automatic translation importMichael Bestas2015-04-172-0/+48
| | | | Change-Id: I15637e50c23af7f4e60a791983923ae65329cb66
* Automatic translation importMichael Bestas2015-04-173-0/+82
| | | | Change-Id: Ib0d03cb90567d7ac6123c2c97be226ef65859ca7
* Merge tag 'android-5.1.0_r1' into HEADstaging/cm-12.1Ricardo Cerqueira2015-03-1080-224/+131
|\ | | | | | | Android 5.1.0 release 1
| * merge in lmp-mr1-release history after reset to lmp-mr1-devThe Android Automerger2015-01-190-0/+0
| |\
| | * merge in lmp-mr1-release history after reset to lmp-mr1-devThe Android Automerger2014-12-020-0/+0
| | |\
| | | * Connection: close is enough to know length.Jeff Sharkey2014-11-101-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that we're defeating connection reuse, we have one additional type of response where the length is known. Bug: 18306491 Change-Id: I19657c565238f07fd89a55a5dbf1e85748f6e7c3
| | | * merge in lmp-mr1-release history after reset to lmp-mr1-devThe Android Automerger2014-11-100-0/+0
| | | |\
| | | | * merge in lmp-mr1-release history after reset to lmp-mr1-devThe Android Automerger2014-11-090-0/+0
| | | | |\ | | | | |/ | | | |/|
| * | / | Can not continue to download after powering on the phoneBenson Huang2015-01-151-0/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Launch chrome and open www.baidu.com -> Choose "software" in the site navigation -> Tap "games" option, choose one apk to download -> During downloading, power off the phone -> Power on the phone and check, it can't continue to download apk. The fix is to add one condition for retrying to download when IO exception happens (i.e. Failed to open for writing: java.io.FileNotFoundException). Bug 18834618 Review: https://partner-android-review.git.corp.google.com/#/c/193436 Signed-off-by: Benson Huang <benson.huang@mediatek.com> Change-Id: I2f975ff7ffedfc4136fb250dcb5ef8fdca4a367d
| * | | Use FileUtils to validate FAT filenames.Jeff Sharkey2014-11-261-50/+1
| | | | | | | | | | | | | | | | | | | | Bug: 18512473 Change-Id: I686c7c3487f789dc0437513fbc6fed54dc62721f
| * | | Connection: close is enough to know length.Jeff Sharkey2014-11-101-5/+9
| |/ / | | | | | | | | | | | | | | | | | | | | | Now that we're defeating connection reuse, we have one additional type of response where the length is known. Bug: 18306491 Change-Id: I19657c565238f07fd89a55a5dbf1e85748f6e7c3
| * / Defeat connection reuse to really cancel.Jeff Sharkey2014-11-071-0/+4
| |/ | | | | | | | | | | | | | | | | Otherwise servers may continue streaming large downloads into the kept-alive socket. This changes to always close the socket, sending a clear signal to server. Bug: 16153076 Change-Id: I3e7fefce4f82b5f80abaab58874cc4c4374d2bfb
| * Ensure that downloads stop quickly.Jeff Sharkey2014-10-271-8/+25
| | | | | | | | | | | | | | | | | | | | In some cases the provider may have marked a download as deleted, but the content change notification may lag several seconds. To stop as soon as possible, assert that we're not deleted when writing our progress updates. Bug: 16405936 Change-Id: I994b746056d0427c626355e0815234ff5b73198c
| * Fix compilation after update to MockWebServerNeil Fuller2014-10-271-1/+2
| | | | | | | | | | | | | | Bug: 18083851 (cherry pick from commit f1cd37d8bade42be0632f54dcd61f81711269606) Change-Id: I93f14e171abc7a52fe2117c8503374734147513b
| * Import translations. DO NOT MERGEGeoff Mendal2014-10-209-33/+29
| | | | | | | | | | Change-Id: Ib845cd731b8a0096914cf59a737af13291a2490c Auto-generated-cl: translation import
| * am 64cb0d20: (-s ours) am 7460b6e0: (-s ours) Import translations. DO NOT MERGEBaligh Uddin2014-10-190-0/+0
| |\ | | | | | | | | | | | | * commit '64cb0d20fdd097b73cab76add01787c590aefefa': Import translations. DO NOT MERGE
| | * am 7460b6e0: (-s ours) Import translations. DO NOT MERGEBaligh Uddin2014-10-190-0/+0
| | |\ | | | | | | | | | | | | | | | | * commit '7460b6e0abad953fc8946296fa3f11bc4b1b60c6': Import translations. DO NOT MERGE
| * | | am 3ee03ac3: am e24609e8: Trim stale downloads from third-party apps.Jeff Sharkey2014-10-171-5/+47
| |\| | | | | | | | | | | | | | | | | | * commit '3ee03ac36f0f849b78936cf18972fe2f24a61722': Trim stale downloads from third-party apps.
| | * | am e24609e8: Trim stale downloads from third-party apps.Jeff Sharkey2014-10-171-5/+47
| | |\ \ | | | | | | | | | | | | | | | | | | | | * commit 'e24609e8f2aada5cb8ac1c3e93141b260e201efe': Trim stale downloads from third-party apps.
| * | | | Import translations. DO NOT MERGEGeoff Mendal2014-10-1572-174/+106
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I74466a8344827f06133073b4802b6fbdaad9934d Auto-generated-cl: translation import
| * | | | Fix internationalization of percentage formatting in DownloadProvider.Elliott Hughes2014-10-103-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 15476051 Change-Id: I085c074f1bb66631872712cab68bcaf6ee7ba7dc
| * | | | am 53c49235: am e8175658: Merge "Materialize some shadows!" into lmp-devJeff Sharkey2014-10-0110-0/+0
| |\| | | | | | | | | | | | | | | | | | | | | | | * commit '53c492358a2fabc1189c43d573602b21a38ce33b': Materialize some shadows!
| | * | | am e8175658: Merge "Materialize some shadows!" into lmp-devJeff Sharkey2014-10-0110-0/+0
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * commit 'e8175658d3a16a3fd8c60a9c6760268e74d0b81f': Materialize some shadows!
| * | | | | am 890cfb8a: (-s ours) am eb140c18: (-s ours) Import translations. DO NOT MERGEBaligh Uddin2014-09-290-0/+0
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '890cfb8aa369ab5feb4f598d569a71e69ea28e50': Import translations. DO NOT MERGE
| | * | | | am eb140c18: (-s ours) Import translations. DO NOT MERGEBaligh Uddin2014-09-290-0/+0
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'eb140c18d92779ebfe909d3e331707697afb91f8': Import translations. DO NOT MERGE
| * | | | | | am f4b1e9c8: (-s ours) am 09128d0a: (-s ours) Import translations. DO NOT MERGEBaligh Uddin2014-09-160-0/+0
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'f4b1e9c83db5c09c238c04000c34e0e397a74f18': Import translations. DO NOT MERGE
| | * | | | | am 09128d0a: (-s ours) Import translations. DO NOT MERGEBaligh Uddin2014-09-160-0/+0
| |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '09128d0adc82fc4a5ffd6fdab18e0c5b69a78cbb': Import translations. DO NOT MERGE
* | | | | | | Automatic translation importMichael Bestas2015-03-061-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I9cdf7fc7d930fe995b65382f679c6b8f402127f8
* | | | | | | Automatic translation importstable/cm-12.0-YNG1TAMichael Bestas2015-02-282-0/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: If2c3e5eb6397c3c3b71899a66889626ffcb0d4e7
* | | | | | | Automatic translation importstable/cm-12.0-YNG1IMichael Bestas2015-02-192-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I94b07168d96ecab56b3135849ff7050642644723
* | | | | | | Automatic translation importMichael Bestas2015-02-1091-0/+2550
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ifb75fc8a09a71260b48ca1e32908fc80f34511cf
* | | | | | | Add Download Speeds in notificationLasse Brudeskar Vikås2014-12-273-6/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds the ability to show the current total download speed Screenshots: http://goo.gl/M3eRNR ps7 : remove download site, and make speed to bit/sec ps8 : make speed to byte/sec and cleanup ps9 : revert to B/sec ps10: fix some formatting issues ps13: rebased Conflicts: res/values/cm_strings.xml src/com/android/providers/downloads/DownloadNotifier.java Change-Id: I801dbe61c7ee59d0c1d14d5851ad6dc3a7678499
* | | | | | | merge in lmp-release history after reset to ↵staging/cm-12.0-cafThe Android Automerger2014-10-210-0/+0
|\ \ \ \ \ \ \ | |_|_|_|_|_|/ |/| | | | | | | | | | | | | 7460b6e0abad953fc8946296fa3f11bc4b1b60c6
| * | | | | | merge in lmp-release history after reset to ↵The Android Automerger2014-10-210-0/+0
|/| | | | | | | | | | | | | | | | | | | | | | | | | | | 7460b6e0abad953fc8946296fa3f11bc4b1b60c6
| * | | | | | merge in lmp-release history after reset to ↵The Android Automerger2014-10-190-0/+0
|/| | | | | | | | | | | | | | | | | | | | | | | | | | | 7460b6e0abad953fc8946296fa3f11bc4b1b60c6
| * | | | | | Trim stale downloads from third-party apps.Jeff Sharkey2014-10-161-5/+47
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Buggy third-party apps can enqueue lots of downloads and then forget to remove them, causing DownloadManager to stop functioning. This change removes any downloads that match _all_ of the following conditions: 1. Download status is in a terminal (non-pending) state, usually a concrete success or failure. 2. Download hasn't been touched in over a week. 3. Download is not visible in UI. Bug: 17785419 Change-Id: Id82752fd6935371c1af682205d35f7ba35169473
* | | | | | Import translations. DO NOT MERGEBaligh Uddin2014-10-194-11/+11
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | Change-Id: I0f6aaf82b8f334b1d0cdc2b076fa0d64a92ed5fe Auto-generated-cl: translation import
* | | | | Trim stale downloads from third-party apps.Jeff Sharkey2014-10-161-5/+47
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Buggy third-party apps can enqueue lots of downloads and then forget to remove them, causing DownloadManager to stop functioning. This change removes any downloads that match _all_ of the following conditions: 1. Download status is in a terminal (non-pending) state, usually a concrete success or failure. 2. Download hasn't been touched in over a week. 3. Download is not visible in UI. Bug: 17785419 Change-Id: Id82752fd6935371c1af682205d35f7ba35169473
* | | | Merge "Materialize some shadows!" into lmp-devJeff Sharkey2014-09-3010-0/+0
|\ \ \ \ | |_|_|/ |/| | |
| * | | Materialize some shadows!Jeff Sharkey2014-09-3010-0/+0
| | |/ | |/| | | | | | | | | | Bug: 17421836 Change-Id: I733b118e3782c06c77c728d641c1f999670b53c9
* / | Import translations. DO NOT MERGEBaligh Uddin2014-09-294-11/+11
|/ / | | | | | | | | Change-Id: I78001ea6b3e5050e800c9f291a90fe19f3febb1d Auto-generated-cl: translation import