| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Change-Id: I6586b3adc94218ae560efe68338eb137aa6cd742
Auto-generated-cl: translation import
|
|
|
|
|
|
|
| |
DownloadProvider offers downloading over HTTP and HTTPS.
Bug: 19215516
Change-Id: I4f0583fd0b00842892a5229f1a87c7af53c5abe4
|
|\
| |
| |
| |
| |
| |
| | |
traffic policy."
* commit '5332ab3e035389445ff9351a34c1d7c94fefa318':
Make DownloadProvider honor the cleartext traffic policy.
|
| |\
| | |
| | |
| | |
| | | |
* commit '65d94cee4a6d4d5f9bc887a89f46eaf9d2570ad9':
Make DownloadProvider honor the cleartext traffic policy.
|
| | |\ |
|
| | |/
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This makes the Provider-side of the DownloadManager framework honor
the per-UID cleartext network traffic policy. The policy is enforced
in the Provider rather than in its client (DownloadManager) because
download URLs could get redirected between HTTPS and HTTP and only
the Provider currently has visibility into and control over this.
Whether cleartext network traffic is permitted is a per-package
policy. However, the DownloadProvider can only access the UID of the
requesting application. Multiple packages can run under the same UID.
In that scenario, cleartext traffic is permited for the UID if
cleartext traffic is permitted for any of the packages running under
the UID. This could be improved by making the DownloadManager provide
the package name in addition to the UID.
Bug: 19215516
Change-Id: Ib37585a7a2fc2869954d52a1b08052926f49bc9b
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: Ia082b51eacfe95e4cfad095de71369035744c3d5
Auto-generated-cl: translation import
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I0e8fd3069bff048448055d1bb80862afa9415f11
Auto-generated-cl: translation import
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I6ee3f2e8abbd7b1b4b7d217e362a1d65b5c8daa4
Auto-generated-cl: translation import
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: Ifd21e5b624206c24c76a65ccaab6486acd05a3bf
Auto-generated-cl: translation import
|
|\| |
| | |
| | |
| | |
| | | |
* commit '82f69f42c87b6868fd5398e72f12685a84f66faf':
Import translations. DO NOT MERGE
|
| |\|
| | |
| | |
| | |
| | | |
* commit '5e116a6d63b4f5060041adeeb1bdc2b0585266cd':
Import translations. DO NOT MERGE
|
| |/
| |
| |
| |
| | |
Change-Id: Id2255cf5429382da0169e8a98b4bc7a613fc046b
Auto-generated-cl: translation import
|
|\|
| |
| |
| |
| | |
* commit '590ccb96d0bd46014ce6767c5b0a8ef7109a8274':
Import translations. DO NOT MERGE
|
| |\
| | |
| | |
| | |
| | | |
* commit 'c7c23071be84c8df58cc59a9597ae84af5cac026':
Import translations. DO NOT MERGE
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I5f4b68932cc08ca445a573449eb1259afd1e1c96
Auto-generated-cl: translation import
|
|\| |
| | |
| | |
| | |
| | |
| | |
| | | |
after powering on the phone
* commit '5d53e8dfdc77be8bd5665a7eec053a0dcdf0b7c8':
Can not continue to download after powering on the phone
|
| |\|
| | |
| | |
| | |
| | |
| | |
| | | |
the phone
* commit '35558a84c1f211005091f3e3b622631d8a21023b':
Can not continue to download after powering on the phone
|
| | |\
| | | |
| | | |
| | | |
| | | | |
* commit 'f3679d0367cd8a0e72875800decf9f63033645a0':
Can not continue to download after powering on the phone
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: I71b49ea8b3f497f568ac327c5092a616c0da794f
Auto-generated-cl: translation import
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: Ib1ebd29334a22947d71f4f6784fad17847e4fe5b
Auto-generated-cl: translation import
|
|\| | |
| | | |
| | | |
| | | |
| | | | |
* commit '2c8cddfdd905857643876e5b724ff188e7398ef2':
Use FileUtils to validate FAT filenames.
|
| |\| |
| | | |
| | | |
| | | |
| | | | |
* commit '36957351d75fd52ae0eb1eb94764ad472d3afd4f':
Use FileUtils to validate FAT filenames.
|
| | |\|
| | | |
| | | |
| | | |
| | | | |
* commit '1bb7a08a3df915e84647bc8a5ca87cc157378e61':
Use FileUtils to validate FAT filenames.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 18512473
Change-Id: I686c7c3487f789dc0437513fbc6fed54dc62721f
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: I04d099094aeb1ce6c3413b13686d90e65dfda873
Auto-generated-cl: translation import
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: Ic545e1cbfd4ae266abe78a9c5bcc53326e397d2a
Auto-generated-cl: translation import
|
|\| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
automerge: 0032d17
* commit 'c83a3a844ec0c3d7a000fbf26a181bff1ddeb8a3':
Connection: close is enough to know length.
|
| |\| |
| | | |
| | | |
| | | |
| | | | |
* commit '0a910e216a08af574707f82ce865753e26ed8dda':
Connection: close is enough to know length.
|
| | |\|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
automerge: 0032d17
* commit '0032d17c1ddbabfea528eb55ca5d03281871f848':
Connection: close is enough to know length.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Now that we're defeating connection reuse, we have one additional
type of response where the length is known.
Bug: 18306491
Change-Id: I19657c565238f07fd89a55a5dbf1e85748f6e7c3
|
|\| | |
| | | |
| | | |
| | | |
| | | | |
* commit '1987bdc2583b6e360a9bb8e1953e353753e88282':
Defeat connection reuse to really cancel.
|
| |\| |
| | | |
| | | |
| | | |
| | | | |
* commit '5b5df6e7e71528cc046410746b529bc5243e74a0':
Defeat connection reuse to really cancel.
|
| | |\|
| | | |
| | | |
| | | |
| | | | |
* commit '83cf6d5b7504abda93420d04efa4f96d5f86a1df':
Defeat connection reuse to really cancel.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
|\| | |
| | | |
| | | |
| | | |
| | | | |
* commit '56888a2a22df994197e64cf4f1e9ed6c008a37f0':
Import translations. DO NOT MERGE
|
| |\ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
* commit 'b4353615031e181b666417848f9e7a4283a6265a':
Import translations. DO NOT MERGE
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Ie329aaf9058c32a171db7220157db9d8a1f02eb7
Auto-generated-cl: translation import
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
to MockWebServer"
* commit 'f15182c5d4fbe6d6312a6ab50be2ab89939b47b6':
Fix compilation after update to MockWebServer
|
| |\| | |
| | | | |
| | | | |
| | | | |
| | | | | |
* commit '8f21a39fcac1343f32f45a072b715e4cd8772836':
Fix compilation after update to MockWebServer
|
| | |\ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* commit 'a2a4cdbb0fb83fb4350be77a8c7fc8a9181f9408':
Fix compilation after update to MockWebServer
|
| | | |\ \ \ |
|
| | | |/ / /
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Bug: 18083851
Change-Id: I611263f111627b6550517f7d6772544dfd5ffdc2
|
|\| | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
translations. DO NOT MERGE
* commit 'fa40889f1034b221489903d80d9f12337f9f0320':
|
| |\| | | |
| | | | | |
| | | | | |
| | | | | | |
* commit '1b1c5777ba1f828810ecea762afa9e0e462f0ad9':
|
| | |\ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* commit '7460b6e0abad953fc8946296fa3f11bc4b1b60c6':
Import translations. DO NOT MERGE
|
|\| | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
automerge: e24609e
* commit 'ab4caf4f714b141a601b8b45c9262c923183c577':
|
| |\| | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* commit '9d59053e3e9167fe3771cc6445ef907d7d4d63fe':
|
| | |\ \ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
automerge: e24609e
* commit 'e24609e8f2aada5cb8ac1c3e93141b260e201efe':
Trim stale downloads from third-party apps.
|