summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Import translations. DO NOT MERGEGeoff Mendal2015-05-112-6/+6
| | | | | Change-Id: I0078fbdc48826c3714371c5d4470d62e1200b233 Auto-generated-cl: translation import
* Sanitize display names, keep extensions intact.Ben Kwa2015-04-221-8/+4
| | | | | | | | | | Use the newly factored FileUtils sanitize the requested display names to be valid FAT filenames, and also allow any extension that maps to the requested MIME type. BUG=20157955 Change-Id: Ic37863a3362a941d81632bd4a7562dae40053652
* Import translations. DO NOT MERGEGeoff Mendal2015-04-226-0/+336
| | | | | Change-Id: I6586b3adc94218ae560efe68338eb137aa6cd742 Auto-generated-cl: translation import
* Declare that DownloadProvider uses cleartext HTTP traffic.Alex Klyubin2015-04-141-1/+2
| | | | | | | DownloadProvider offers downloading over HTTP and HTTPS. Bug: 19215516 Change-Id: I4f0583fd0b00842892a5229f1a87c7af53c5abe4
* am 5332ab3e: am 65d94cee: Merge "Make DownloadProvider honor the cleartext ↵Alex Klyubin2015-04-025-0/+82
|\ | | | | | | | | | | | | traffic policy." * commit '5332ab3e035389445ff9351a34c1d7c94fefa318': Make DownloadProvider honor the cleartext traffic policy.
| * am 65d94cee: Merge "Make DownloadProvider honor the cleartext traffic policy."Alex Klyubin2015-04-015-0/+82
| |\ | | | | | | | | | | | | * commit '65d94cee4a6d4d5f9bc887a89f46eaf9d2570ad9': Make DownloadProvider honor the cleartext traffic policy.
| | * Merge "Make DownloadProvider honor the cleartext traffic policy."Alex Klyubin2015-04-015-0/+82
| | |\
| | | * Make DownloadProvider honor the cleartext traffic policy.Alex Klyubin2015-04-015-0/+82
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Import translations. DO NOT MERGEGeoff Mendal2015-03-302-2/+2
| | | | | | | | | | | | | | | Change-Id: Ia082b51eacfe95e4cfad095de71369035744c3d5 Auto-generated-cl: translation import
* | | Import translations. DO NOT MERGEGeoff Mendal2015-03-213-1/+113
| | | | | | | | | | | | | | | Change-Id: I0e8fd3069bff048448055d1bb80862afa9415f11 Auto-generated-cl: translation import
* | | Import translations. DO NOT MERGEGeoff Mendal2015-03-164-21/+21
| | | | | | | | | | | | | | | Change-Id: I6ee3f2e8abbd7b1b4b7d217e362a1d65b5c8daa4 Auto-generated-cl: translation import
* | | Import translations. DO NOT MERGEGeoff Mendal2015-03-092-23/+23
| | | | | | | | | | | | | | | Change-Id: Ifd21e5b624206c24c76a65ccaab6486acd05a3bf Auto-generated-cl: translation import
* | | am 82f69f42: (-s ours) am 5e116a6d: (-s ours) Import translations. DO NOT MERGEGeoff Mendal2015-02-270-0/+0
|\| | | | | | | | | | | | | | * commit '82f69f42c87b6868fd5398e72f12685a84f66faf': Import translations. DO NOT MERGE
| * | am 5e116a6d: (-s ours) Import translations. DO NOT MERGEGeoff Mendal2015-02-270-0/+0
| |\| | | | | | | | | | | | | * commit '5e116a6d63b4f5060041adeeb1bdc2b0585266cd': Import translations. DO NOT MERGE
| | * Import translations. DO NOT MERGEGeoff Mendal2015-02-2676-201/+129
| |/ | | | | | | | | Change-Id: Id2255cf5429382da0169e8a98b4bc7a613fc046b Auto-generated-cl: translation import
* | am 590ccb96: (-s ours) am c7c23071: (-s ours) Import translations. DO NOT MERGEGeoff Mendal2015-02-130-0/+0
|\| | | | | | | | | * commit '590ccb96d0bd46014ce6767c5b0a8ef7109a8274': Import translations. DO NOT MERGE
| * am c7c23071: (-s ours) Import translations. DO NOT MERGEGeoff Mendal2015-02-130-0/+0
| |\ | | | | | | | | | | | | * commit 'c7c23071be84c8df58cc59a9597ae84af5cac026': Import translations. DO NOT MERGE
| | * Import translations. DO NOT MERGEGeoff Mendal2015-02-1221-50/+33
| | | | | | | | | | | | | | | Change-Id: I5f4b68932cc08ca445a573449eb1259afd1e1c96 Auto-generated-cl: translation import
* | | am 5d53e8df: am 35558a84: am f3679d03: Can not continue to download ↵Benson Huang2015-01-161-0/+1
|\| | | | | | | | | | | | | | | | | | | | after powering on the phone * commit '5d53e8dfdc77be8bd5665a7eec053a0dcdf0b7c8': Can not continue to download after powering on the phone
| * | am 35558a84: am f3679d03: Can not continue to download after powering on ↵Benson Huang2015-01-161-0/+1
| |\| | | | | | | | | | | | | | | | | | | the phone * commit '35558a84c1f211005091f3e3b622631d8a21023b': Can not continue to download after powering on the phone
| | * am f3679d03: Can not continue to download after powering on the phoneBenson Huang2015-01-161-0/+1
| | |\ | | | | | | | | | | | | | | | | * commit 'f3679d0367cd8a0e72875800decf9f63033645a0': Can not continue to download after powering on the phone
| | | * 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
* | | | Import translations. DO NOT MERGEBaligh Uddin2014-12-224-18/+18
| | | | | | | | | | | | | | | | | | | | Change-Id: I71b49ea8b3f497f568ac327c5092a616c0da794f Auto-generated-cl: translation import
* | | | Import translations. DO NOT MERGEGeoff Mendal2014-12-086-24/+24
| | | | | | | | | | | | | | | | | | | | Change-Id: Ib1ebd29334a22947d71f4f6784fad17847e4fe5b Auto-generated-cl: translation import
* | | | am 2c8cddfd: am 36957351: am 1bb7a08a: Use FileUtils to validate FAT filenames.Jeff Sharkey2014-12-011-50/+1
|\| | | | | | | | | | | | | | | | | | | * commit '2c8cddfdd905857643876e5b724ff188e7398ef2': Use FileUtils to validate FAT filenames.
| * | | am 36957351: am 1bb7a08a: Use FileUtils to validate FAT filenames.Jeff Sharkey2014-12-011-50/+1
| |\| | | | | | | | | | | | | | | | | | * commit '36957351d75fd52ae0eb1eb94764ad472d3afd4f': Use FileUtils to validate FAT filenames.
| | * | am 1bb7a08a: Use FileUtils to validate FAT filenames.Jeff Sharkey2014-12-011-50/+1
| | |\| | | | | | | | | | | | | | | | | * commit '1bb7a08a3df915e84647bc8a5ca87cc157378e61': Use FileUtils to validate FAT filenames.
| | | * Use FileUtils to validate FAT filenames.Jeff Sharkey2014-11-261-50/+1
| | | | | | | | | | | | | | | | | | | | Bug: 18512473 Change-Id: I686c7c3487f789dc0437513fbc6fed54dc62721f
* | | | Import translations. DO NOT MERGEGeoff Mendal2014-11-244-18/+18
| | | | | | | | | | | | | | | | | | | | Change-Id: I04d099094aeb1ce6c3413b13686d90e65dfda873 Auto-generated-cl: translation import
* | | | Import translations. DO NOT MERGEGeoff Mendal2014-11-194-18/+18
| | | | | | | | | | | | | | | | | | | | Change-Id: Ic545e1cbfd4ae266abe78a9c5bcc53326e397d2a Auto-generated-cl: translation import
* | | | am c83a3a84: am 0a910e21: Connection: close is enough to know length. ↵Jeff Sharkey2014-11-101-5/+9
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | automerge: 0032d17 * commit 'c83a3a844ec0c3d7a000fbf26a181bff1ddeb8a3': Connection: close is enough to know length.
| * | | am 0a910e21: Connection: close is enough to know length. automerge: 0032d17Jeff Sharkey2014-11-101-5/+9
| |\| | | | | | | | | | | | | | | | | | * commit '0a910e216a08af574707f82ce865753e26ed8dda': Connection: close is enough to know length.
| | * | Connection: close is enough to know length.Jeff Sharkey2014-11-101-5/+9
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | automerge: 0032d17 * commit '0032d17c1ddbabfea528eb55ca5d03281871f848': Connection: close is enough to know length.
| | | * 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
* | | | am 1987bdc2: am 5b5df6e7: am 83cf6d5b: Defeat connection reuse to really cancel.Jeff Sharkey2014-11-071-0/+4
|\| | | | | | | | | | | | | | | | | | | * commit '1987bdc2583b6e360a9bb8e1953e353753e88282': Defeat connection reuse to really cancel.
| * | | am 5b5df6e7: am 83cf6d5b: Defeat connection reuse to really cancel.Jeff Sharkey2014-11-071-0/+4
| |\| | | | | | | | | | | | | | | | | | * commit '5b5df6e7e71528cc046410746b529bc5243e74a0': Defeat connection reuse to really cancel.
| | * | am 83cf6d5b: Defeat connection reuse to really cancel.Jeff Sharkey2014-11-071-0/+4
| | |\| | | | | | | | | | | | | | | | | * commit '83cf6d5b7504abda93420d04efa4f96d5f86a1df': Defeat connection reuse to really cancel.
| | | * 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
* | | | am 56888a2a: (-s ours) am b4353615: (-s ours) Import translations. DO NOT MERGEBaligh Uddin2014-10-310-0/+0
|\| | | | | | | | | | | | | | | | | | | * commit '56888a2a22df994197e64cf4f1e9ed6c008a37f0': Import translations. DO NOT MERGE
| * | | am b4353615: (-s ours) Import translations. DO NOT MERGEBaligh Uddin2014-10-310-0/+0
| |\ \ \ | | | | | | | | | | | | | | | | | | | | * commit 'b4353615031e181b666417848f9e7a4283a6265a': Import translations. DO NOT MERGE
| | * | | Import translations. DO NOT MERGEBaligh Uddin2014-10-3016-51/+51
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ie329aaf9058c32a171db7220157db9d8a1f02eb7 Auto-generated-cl: translation import
* | | | | am f15182c5: am 8f21a39f: am a2a4cdbb: Merge "Fix compilation after update ↵Neil Fuller2014-10-290-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to MockWebServer" * commit 'f15182c5d4fbe6d6312a6ab50be2ab89939b47b6': Fix compilation after update to MockWebServer
| * | | | am 8f21a39f: am a2a4cdbb: Merge "Fix compilation after update to MockWebServer"Neil Fuller2014-10-290-0/+0
| |\| | | | | | | | | | | | | | | | | | | | | | | * commit '8f21a39fcac1343f32f45a072b715e4cd8772836': Fix compilation after update to MockWebServer
| | * | | am a2a4cdbb: Merge "Fix compilation after update to MockWebServer"Neil Fuller2014-10-281-1/+2
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * commit 'a2a4cdbb0fb83fb4350be77a8c7fc8a9181f9408': Fix compilation after update to MockWebServer
| | | * \ \ Merge "Fix compilation after update to MockWebServer"Neil Fuller2014-10-271-1/+2
| | | |\ \ \
| | | | * | | Fix compilation after update to MockWebServerNeil Fuller2014-10-271-1/+2
| | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | Bug: 18083851 Change-Id: I611263f111627b6550517f7d6772544dfd5ffdc2
* | | | | | am fa40889f: (-s ours) am 1b1c5777: (-s ours) am 7460b6e0: (-s ours) Import ↵Baligh Uddin2014-10-290-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | translations. DO NOT MERGE * commit 'fa40889f1034b221489903d80d9f12337f9f0320':
| * | | | | am 1b1c5777: (-s ours) am 7460b6e0: (-s ours) Import translations. DO NOT MERGEBaligh Uddin2014-10-290-0/+0
| |\| | | | | | | | | | | | | | | | | | | | | | * commit '1b1c5777ba1f828810ecea762afa9e0e462f0ad9':
| | * | | | am 7460b6e0: (-s ours) Import translations. DO NOT MERGEBaligh Uddin2014-10-190-0/+0
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '7460b6e0abad953fc8946296fa3f11bc4b1b60c6': Import translations. DO NOT MERGE
* | | | | | | am ab4caf4f: am 9d59053e: Trim stale downloads from third-party apps. ↵Jeff Sharkey2014-10-290-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | automerge: e24609e * commit 'ab4caf4f714b141a601b8b45c9262c923183c577':