| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Now DownloadService creates and owns the lifecycle of its own
StorageManager instance.
Change-Id: I8f6bedc02f1dbe610a8e6a25d55383a12716d344
|
|
|
|
|
|
|
| |
It was cluttering up method signatures, and can easily be reset
before starting each download pass.
Change-Id: I7dee9d2160c3b5f737e7db86baa826d5d0b04b2d
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix bug where resumed downloads wouldn't open in append mode. Handle
end of stream exceptions from URLConnection as special-case for now
to keep tests passing.
Move stream creation outside of DrmOutputStream, and always fsync()
before closing files. Treat HTTP header errors as retryable. Add
explicit state checks to redirection tests.
Change-Id: I19d007284f6bfbffaac93859fe47cd98b79a59c4
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| |/
|/|
| |
| | |
* commit '195b46b8a59eb522fc91ac6f498f359a337d3f3e':
Cancel stale notifications when starting.
|
| |\
| | |
| | |
| | |
| | | |
* commit 'b0bb182a1b52b31ccf1ec5e0be82308ebb4857e2':
Cancel stale notifications when starting.
|
| | |
| | |
| | |
| | |
| | | |
Bug: 7693834
Change-Id: I5e212be321cccae0f7c76f80049c4e09f0867694
|
|\| |
| | |
| | |
| | |
| | | |
* commit '770f0d7ce322ffb332ae325d7377afc4dcae4f7a':
Import translations. DO NOT MERGE
|
| |\|
| | |
| | |
| | |
| | | |
* commit '1d71eb6b347cf861c53c1bc4c18b8928528b244c':
Import translations. DO NOT MERGE
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: Icadeb210d13e600f85b1a1d21aaaa79e26d78240
Auto-generated-cl: translation import
|
|\| |
| | |
| | |
| | |
| | | |
* commit '25ecefe9d117834011070e3575e7ab099bec6cc8':
Import translations. DO NOT MERGE
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: If4d0d58f02f114be7500b092bc64bf98133a4c8f
Auto-generated-cl: translation import
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: If63f10fb04fea622a810a473b7a6026e09243b62
Auto-generated-cl: translation import
|
|\ \ \ \
| |/ / /
|/| | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
|\ \ \ \
| | |/ /
| |/| |
| | | |
| | | | |
* commit 'e12b912f9cbf5d55043dc9d6fdfc9398463d046b':
Import translations. DO NOT MERGE
|
| |\ \ \
| | | |/
| | |/|
| | | |
| | | | |
* commit '99de1b606e5462ab191d2af5b9bd8c7c4ed30d00':
Import translations. DO NOT MERGE
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: I6882b2a17c13803e66b1afc8e0bc02dd3d4bf049
Auto-generated-cl: translation import
|
|\| | |
| | | |
| | | |
| | | |
| | | | |
* commit '05a3d61b7481a46083877c1832f43bda07a450bb':
Import translations. DO NOT MERGE
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: Ibc78b0a1952d9482c86b603b5b7d4cc528e4f54b
Auto-generated-cl: translation import
|
|\| | |
| | | |
| | | |
| | | |
| | | | |
* commit '9ad850e79f5aa38ef4069b4a7743c5aeb934ae29':
Import translations. DO NOT MERGE
|
| |\| |
| | | |
| | | |
| | | |
| | | | |
* commit '5f956afb7c75a2184bbada95eb4d91c35d1736ae':
Import translations. DO NOT MERGE
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: Ia4dc102097a8c6085e20d7fc7e2e10adc475f872
Auto-generated-cl: translation import
|
|\| | |
| | | |
| | | |
| | | |
| | | | |
* commit '9529ca65cf71b11a20f7586c2a6e3ce80963d676':
Import translations. DO NOT MERGE
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: Ib14b80172fb2383c5e3a955ea9994ff3e448d0c6
Auto-generated-cl: translation import
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: I97f4b6ad261e150770d996f03972f61084493ea9
Auto-generated-cl: translation import
|
| |_|/
|/| |
| | |
| | |
| | | |
Change-Id: Ic7e93c202d44b5dccd3a20dc945482bdee956d86
Auto-generated-cl: translation import
|
|\| |
| | |
| | |
| | |
| | | |
* commit '9ecb7a13dec41365c0dbb112286b99ebd9faf61a':
Import translations. DO NOT MERGE
|
| |\|
| | |
| | |
| | |
| | | |
* commit '0daff11c040114ecee4ff8f06b982eedde85f020':
Import translations. DO NOT MERGE
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I195b9b502336dad204ce6b4e9a1a74cc9f9f398f
Auto-generated-cl: translation import
|
|\| |
| | |
| | |
| | |
| | | |
* commit '66748b469b439b746cbe44dd3bcc7c6978f1528f':
Import translations. DO NOT MERGE
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I4cc19c97596a5e1c3a104913c0b6b1269a33f852
Auto-generated-cl: translation import
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: I2629d923382c2964ebef6299b1206381956d707c
Auto-generated-cl: translation import
|
|\ \ \ \
| |/ / /
|/| / /
| |/ /
| | |
| | |
| | | |
calculation." into jb-mr1.1-dev
* commit 'd75f110ff5a9c235f4f243bf0bb51bd5f535e2b3':
Improve download remaining time calculation.
|
| |\|
| | |
| | |
| | |
| | |
| | |
| | | |
jb-mr1.1-dev
* commit 'e495c97a17e9387d92e369a52b1212e6f908a8de':
Improve download remaining time calculation.
|
| | |\ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
|\| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
into jb-mr1.1-dev
* commit 'e33e83a5c3cc97ce3b47f1f9b6410c3928f1f7de':
Update extras for in-progress download.
|
| |\| |
| | | |
| | | |
| | | |
| | | | |
* commit '8ec8bdebaefcecb8b3e6b9f724aba7b25406db21':
Update extras for in-progress download.
|
| | |\| |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Follow move to EXTRA_NOTIFICATION_CLICK_DOWNLOAD_IDS extras, which
was missing during refactoring.
Bug: 7617373
Change-Id: I26203a2bc6fc0e211a1aa602c0de018332d76f60
|
|\| | |
| | | |
| | | |
| | | |
| | | | |
* commit 'a940d3700093fb83c8916bd4b218761e534b9bd4':
Import translations. DO NOT MERGE
|
| |\| |
| | | |
| | | |
| | | |
| | | | |
* commit 'd912ebe9c815b88bbdf43b6a9a9605a370d18eaf':
Import translations. DO NOT MERGE
|
| | |/
| | |
| | |
| | |
| | | |
Change-Id: Ib11120e47f29151b4281f86db6dbeaecf4e060d5
Auto-generated-cl: translation import
|
|\| |
| | |
| | |
| | |
| | | |
* commit 'd5ea3a50feebae50c303b6cc314972d8d12d5e80':
Import translations. DO NOT MERGE
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: Ib9b90701453d04cf708cfc3488a64b9ebb5146b7
Auto-generated-cl: translation import
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I737fb23b9ef7c768fc3aadda23997d42c0cf0b5c
Auto-generated-cl: translation import
|