summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Cleaner I/O."Jeff Sharkey2012-12-135-351/+86
|\
| * Cleaner I/O.Jeff Sharkey2012-12-135-351/+86
| | | | | | | | | | | | | | | | | | | | | | | | This cleans up writing of downloaded data by always writing through OutputStream interface, which applies DRM if needed. Hands I/O streams along with method calls to give clearer chain of ownership. Only retry writes once after verifying free space. Remove checkCanHandleDownload() check, since most downloads are now using public API. Release DrmManagerClient sessions when finished. Change-Id: I49e479089a8218690b556d31ec65a030930ad368
* | am 195b46b8: am b0bb182a: Cancel stale notifications when starting.Jeff Sharkey2012-12-132-0/+5
|\ \ | |/ |/| | | | | * commit '195b46b8a59eb522fc91ac6f498f359a337d3f3e': Cancel stale notifications when starting.
| * am b0bb182a: Cancel stale notifications when starting.Jeff Sharkey2012-12-132-0/+5
| |\ | | | | | | | | | | | | * commit 'b0bb182a1b52b31ccf1ec5e0be82308ebb4857e2': Cancel stale notifications when starting.
| | * Cancel stale notifications when starting.Jeff Sharkey2012-12-132-0/+5
| | | | | | | | | | | | | | | Bug: 7693834 Change-Id: I5e212be321cccae0f7c76f80049c4e09f0867694
* | | am 770f0d7c: (-s ours) am 1d71eb6b: Import translations. DO NOT MERGEBaligh Uddin2012-12-120-0/+0
|\| | | | | | | | | | | | | | * commit '770f0d7ce322ffb332ae325d7377afc4dcae4f7a': Import translations. DO NOT MERGE
| * | am 1d71eb6b: Import translations. DO NOT MERGEBaligh Uddin2012-12-120-0/+0
| |\| | | | | | | | | | | | | * commit '1d71eb6b347cf861c53c1bc4c18b8928528b244c': Import translations. DO NOT MERGE
| | * Import translations. DO NOT MERGEBaligh Uddin2012-12-121-2/+2
| | | | | | | | | | | | | | | Change-Id: Icadeb210d13e600f85b1a1d21aaaa79e26d78240 Auto-generated-cl: translation import
* | | am 25ecefe9: (-s ours) Import translations. DO NOT MERGEBaligh Uddin2012-12-120-0/+0
|\| | | | | | | | | | | | | | * commit '25ecefe9d117834011070e3575e7ab099bec6cc8': Import translations. DO NOT MERGE
| * | Import translations. DO NOT MERGEBaligh Uddin2012-12-121-2/+2
| | | | | | | | | | | | | | | Change-Id: If4d0d58f02f114be7500b092bc64bf98133a4c8f Auto-generated-cl: translation import
* | | Merge "Import translations. DO NOT MERGE"Baligh Uddin2012-12-121-2/+2
|\ \ \
| * | | Import translations. DO NOT MERGEBaligh Uddin2012-12-121-2/+2
| | | | | | | | | | | | | | | | | | | | Change-Id: If63f10fb04fea622a810a473b7a6026e09243b62 Auto-generated-cl: translation import
* | | | Merge "Move DownloadManager to HttpURLConnection."Jeff Sharkey2012-12-122-265/+116
|\ \ \ \ | |/ / / |/| | |
| * | | Move DownloadManager to HttpURLConnection.Jeff Sharkey2012-12-122-265/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Apache HttpClient is in maintenance mode, and doesn't have support for features like Server Name Indication (SNI). This change moves DownloadManager to use HttpURLConnection internally. It also moves redirection handling into HttpURLConnection. Bug: 7070597 Change-Id: Ie80093eeeecd14f94e1c8b7597ff3f8f5d220691
* | | | am e12b912f: (-s ours) am 99de1b60: Import translations. DO NOT MERGEBaligh Uddin2012-12-060-0/+0
|\ \ \ \ | | |/ / | |/| | | | | | | | | | * commit 'e12b912f9cbf5d55043dc9d6fdfc9398463d046b': Import translations. DO NOT MERGE
| * | | am 99de1b60: Import translations. DO NOT MERGEBaligh Uddin2012-12-060-0/+0
| |\ \ \ | | | |/ | | |/| | | | | | | | | * commit '99de1b606e5462ab191d2af5b9bd8c7c4ed30d00': Import translations. DO NOT MERGE
| | * | Import translations. DO NOT MERGEBaligh Uddin2012-12-061-1/+1
| | | | | | | | | | | | | | | | | | | | Change-Id: I6882b2a17c13803e66b1afc8e0bc02dd3d4bf049 Auto-generated-cl: translation import
* | | | am 05a3d61b: (-s ours) Import translations. DO NOT MERGEBaligh Uddin2012-12-060-0/+0
|\| | | | | | | | | | | | | | | | | | | * commit '05a3d61b7481a46083877c1832f43bda07a450bb': Import translations. DO NOT MERGE
| * | | Import translations. DO NOT MERGEBaligh Uddin2012-12-061-1/+1
| | | | | | | | | | | | | | | | | | | | Change-Id: Ibc78b0a1952d9482c86b603b5b7d4cc528e4f54b Auto-generated-cl: translation import
* | | | am 9ad850e7: (-s ours) am 5f956afb: Import translations. DO NOT MERGEBaligh Uddin2012-12-060-0/+0
|\| | | | | | | | | | | | | | | | | | | * commit '9ad850e79f5aa38ef4069b4a7743c5aeb934ae29': Import translations. DO NOT MERGE
| * | | am 5f956afb: Import translations. DO NOT MERGEBaligh Uddin2012-12-050-0/+0
| |\| | | | | | | | | | | | | | | | | | * commit '5f956afb7c75a2184bbada95eb4d91c35d1736ae': Import translations. DO NOT MERGE
| | * | Import translations. DO NOT MERGEBaligh Uddin2012-12-052-2/+2
| | | | | | | | | | | | | | | | | | | | Change-Id: Ia4dc102097a8c6085e20d7fc7e2e10adc475f872 Auto-generated-cl: translation import
* | | | am 9529ca65: (-s ours) Import translations. DO NOT MERGEBaligh Uddin2012-12-060-0/+0
|\| | | | | | | | | | | | | | | | | | | * commit '9529ca65cf71b11a20f7586c2a6e3ce80963d676': Import translations. DO NOT MERGE
| * | | Import translations. DO NOT MERGEBaligh Uddin2012-12-052-2/+2
| | | | | | | | | | | | | | | | | | | | Change-Id: Ib14b80172fb2383c5e3a955ea9994ff3e448d0c6 Auto-generated-cl: translation import
* | | | Import translations. DO NOT MERGEBaligh Uddin2012-12-061-1/+1
| | | | | | | | | | | | | | | | | | | | Change-Id: I97f4b6ad261e150770d996f03972f61084493ea9 Auto-generated-cl: translation import
* | | | Import translations. DO NOT MERGEBaligh Uddin2012-12-052-2/+2
| |_|/ |/| | | | | | | | | | | Change-Id: Ic7e93c202d44b5dccd3a20dc945482bdee956d86 Auto-generated-cl: translation import
* | | am 9ecb7a13: (-s ours) am 0daff11c: Import translations. DO NOT MERGEBaligh Uddin2012-11-290-0/+0
|\| | | | | | | | | | | | | | * commit '9ecb7a13dec41365c0dbb112286b99ebd9faf61a': Import translations. DO NOT MERGE
| * | am 0daff11c: Import translations. DO NOT MERGEBaligh Uddin2012-11-290-0/+0
| |\| | | | | | | | | | | | | * commit '0daff11c040114ecee4ff8f06b982eedde85f020': Import translations. DO NOT MERGE
| | * Import translations. DO NOT MERGEBaligh Uddin2012-11-2912-22/+12
| | | | | | | | | | | | | | | Change-Id: I195b9b502336dad204ce6b4e9a1a74cc9f9f398f Auto-generated-cl: translation import
* | | am 66748b46: (-s ours) Import translations. DO NOT MERGEBaligh Uddin2012-11-290-0/+0
|\| | | | | | | | | | | | | | * commit '66748b469b439b746cbe44dd3bcc7c6978f1528f': Import translations. DO NOT MERGE
| * | Import translations. DO NOT MERGEBaligh Uddin2012-11-2912-22/+12
| | | | | | | | | | | | | | | Change-Id: I4cc19c97596a5e1c3a104913c0b6b1269a33f852 Auto-generated-cl: translation import
* | | Merge "Import translations. DO NOT MERGE"Baligh Uddin2012-11-2912-22/+12
|\ \ \
| * | | Import translations. DO NOT MERGEBaligh Uddin2012-11-2912-22/+12
| | | | | | | | | | | | | | | | | | | | Change-Id: I2629d923382c2964ebef6299b1206381956d707c Auto-generated-cl: translation import
* | | | am d75f110f: am e495c97a: Merge "Improve download remaining time ↵Jeff Sharkey2012-11-293-26/+14
|\ \ \ \ | |/ / / |/| / / | |/ / | | | | | | | | | calculation." into jb-mr1.1-dev * commit 'd75f110ff5a9c235f4f243bf0bb51bd5f535e2b3': Improve download remaining time calculation.
| * | am e495c97a: Merge "Improve download remaining time calculation." into ↵Jeff Sharkey2012-11-283-26/+14
| |\| | | | | | | | | | | | | | | | | | | jb-mr1.1-dev * commit 'e495c97a17e9387d92e369a52b1212e6f908a8de': Improve download remaining time calculation.
| | * Merge "Improve download remaining time calculation." into jb-mr1.1-devJeff Sharkey2012-11-283-26/+14
| | |\
| | | * Improve download remaining time calculation.Jeff Sharkey2012-11-283-26/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Calculate remaining time in DownloadNotifier so we always use the most recent progress data, which avoids showing stale times. Weight speed calculation to prefer historical data so remaining time is smoother on bumpy network connections. Bug: 7631948 Change-Id: I497be0899e65086356745340b19d3987c6185bdd
* | | | am e33e83a5: am 8ec8bdeb: Merge "Update extras for in-progress download." ↵Jeff Sharkey2012-11-273-9/+8
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | into jb-mr1.1-dev * commit 'e33e83a5c3cc97ce3b47f1f9b6410c3928f1f7de': Update extras for in-progress download.
| * | | am 8ec8bdeb: Merge "Update extras for in-progress download." into jb-mr1.1-devJeff Sharkey2012-11-273-9/+8
| |\| | | | | | | | | | | | | | | | | | * commit '8ec8bdebaefcecb8b3e6b9f724aba7b25406db21': Update extras for in-progress download.
| | * | Merge "Update extras for in-progress download." into jb-mr1.1-devJeff Sharkey2012-11-273-9/+8
| | |\|
| | | * Update extras for in-progress download.Jeff Sharkey2012-11-273-9/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Follow move to EXTRA_NOTIFICATION_CLICK_DOWNLOAD_IDS extras, which was missing during refactoring. Bug: 7617373 Change-Id: I26203a2bc6fc0e211a1aa602c0de018332d76f60
* | | | am a940d370: (-s ours) am d912ebe9: Import translations. DO NOT MERGEBaligh Uddin2012-11-270-0/+0
|\| | | | | | | | | | | | | | | | | | | * commit 'a940d3700093fb83c8916bd4b218761e534b9bd4': Import translations. DO NOT MERGE
| * | | am d912ebe9: Import translations. DO NOT MERGEBaligh Uddin2012-11-270-0/+0
| |\| | | | | | | | | | | | | | | | | | * commit 'd912ebe9c815b88bbdf43b6a9a9605a370d18eaf': Import translations. DO NOT MERGE
| | * | Import translations. DO NOT MERGEBaligh Uddin2012-11-274-7/+4
| | |/ | | | | | | | | | | | | Change-Id: Ib11120e47f29151b4281f86db6dbeaecf4e060d5 Auto-generated-cl: translation import
* | | am d5ea3a50: (-s ours) Import translations. DO NOT MERGEBaligh Uddin2012-11-270-0/+0
|\| | | | | | | | | | | | | | * commit 'd5ea3a50feebae50c303b6cc314972d8d12d5e80': Import translations. DO NOT MERGE
| * | Import translations. DO NOT MERGEBaligh Uddin2012-11-274-7/+4
| | | | | | | | | | | | | | | Change-Id: Ib9b90701453d04cf708cfc3488a64b9ebb5146b7 Auto-generated-cl: translation import
* | | Import translations. DO NOT MERGEBaligh Uddin2012-11-274-7/+4
| | | | | | | | | | | | | | | Change-Id: I737fb23b9ef7c768fc3aadda23997d42c0cf0b5c Auto-generated-cl: translation import
* | | Merge "Import translations. DO NOT MERGE"Baligh Uddin2012-11-2614-28/+14
|\ \ \
| * | | Import translations. DO NOT MERGEBaligh Uddin2012-11-2214-28/+14
| | | | | | | | | | | | | | | | | | | | Change-Id: I1b6057ab8d9f98e603d132ec894f1f701af2a6df Auto-generated-cl: translation import
* | | | am 9fc01e63: (-s ours) am 65ab05d0: Import translations. DO NOT MERGEBaligh Uddin2012-11-260-0/+0
|\ \ \ \ | | |/ / | |/| | | | | | | | | | * commit '9fc01e63c8c13f597036747bc725b91f1de9aa9e': Import translations. DO NOT MERGE