3 years agoDO NOT MERGE. Use resolved path for both checking and opening. am: 8a2e551874 am...
Jeff Sharkey [Thu, 21 Jan 2016 01:47:08 +0000]
DO NOT MERGE. Use resolved path for both checking and opening. am: 8a2e551874 am: e13f6fa9b6 am: 8e6c809370  -s ours am: 46a4c650bb am: 1aaf16b00e  -s ours am: 47784d61cf
am: ae7d56abe4

* commit 'ae7d56abe493e7896a24024d1cf0d16e55609e6e':
  DO NOT MERGE. Use resolved path for both checking and opening.

3 years agoDO NOT MERGE. Use resolved path for both checking and opening. am: 8a2e551874 am...
Jeff Sharkey [Thu, 21 Jan 2016 01:45:07 +0000]
DO NOT MERGE. Use resolved path for both checking and opening. am: 8a2e551874 am: e13f6fa9b6 am: 8e6c809370  -s ours am: 46a4c650bb am: 1aaf16b00e  -s ours
am: 47784d61cf

* commit '47784d61cf756509e5002b0938af03ce009fd854':
  DO NOT MERGE. Use resolved path for both checking and opening.

3 years agoDO NOT MERGE. Use resolved path for both checking and opening. am: 8a2e551874 am...
Jeff Sharkey [Thu, 21 Jan 2016 01:42:14 +0000]
DO NOT MERGE. Use resolved path for both checking and opening. am: 8a2e551874 am: e13f6fa9b6 am: 8e6c809370  -s ours am: 46a4c650bb
am: 1aaf16b00e  -s ours

* commit '1aaf16b00e0bb62547686a742023648d2558f557':
  DO NOT MERGE. Use resolved path for both checking and opening.

3 years agoDO NOT MERGE. Use resolved path for both checking and opening. am: 8a2e551874 am...
Jeff Sharkey [Thu, 21 Jan 2016 01:38:53 +0000]
DO NOT MERGE. Use resolved path for both checking and opening. am: 8a2e551874 am: e13f6fa9b6 am: 8e6c809370  -s ours
am: 46a4c650bb

* commit '46a4c650bbb2699612dd98cd627109db3334af71':
  DO NOT MERGE. Use resolved path for both checking and opening.

3 years agoDO NOT MERGE. Use resolved path for both checking and opening. am: 8a2e551874 am...
Jeff Sharkey [Thu, 21 Jan 2016 01:25:50 +0000]
DO NOT MERGE. Use resolved path for both checking and opening. am: 8a2e551874 am: e13f6fa9b6
am: 8e6c809370  -s ours

* commit '8e6c8093709b144e69efb8c6bff4be50729f3c25':
  DO NOT MERGE. Use resolved path for both checking and opening.

3 years agoDO NOT MERGE. Use resolved path for both checking and opening. am: 8a2e551874
Jeff Sharkey [Thu, 21 Jan 2016 00:58:31 +0000]
DO NOT MERGE. Use resolved path for both checking and opening. am: 8a2e551874
am: e13f6fa9b6

* commit 'e13f6fa9b6aa1665d0af0df75e1b3a9f7d3d481d':
  DO NOT MERGE. Use resolved path for both checking and opening.

3 years agoDO NOT MERGE. Use resolved path for both checking and opening.
Jeff Sharkey [Thu, 21 Jan 2016 00:54:58 +0000]
DO NOT MERGE. Use resolved path for both checking and opening.
am: 8a2e551874

* commit '8a2e55187463fd4f8e9f6e80ae89c4e6dcb9b9f6':
  DO NOT MERGE. Use resolved path for both checking and opening.

3 years agoDO NOT MERGE. Use resolved path for both checking and opening.
Jeff Sharkey [Thu, 7 Jan 2016 21:15:59 +0000]
DO NOT MERGE. Use resolved path for both checking and opening.

This avoids a race condition where someone can change a symlink
target after the security checks have passed.

Bug: 26211054
Change-Id: Ie3d2ff0be3f9590869302f0c2d6cdbca1377e7ce

3 years agoRevert "Use resolved path for both checking and opening." am: 6947a091f1 am: cd15221e...
Jeff Sharkey [Fri, 15 Jan 2016 21:15:08 +0000]
Revert "Use resolved path for both checking and opening." am: 6947a091f1 am: cd15221e33 am: 9f47480ba2  -s ours am: 9294cf83d9 am: e6235ebca3 am: 5a066c39a6
am: 78b21c54af

* commit '78b21c54af58acd7acc40f1cd010a8cf8ed1d07b':
  Revert "Use resolved path for both checking and opening."

3 years agoRevert "Use resolved path for both checking and opening." am: 6947a091f1 am: cd15221e...
Jeff Sharkey [Fri, 15 Jan 2016 21:13:09 +0000]
Revert "Use resolved path for both checking and opening." am: 6947a091f1 am: cd15221e33 am: 9f47480ba2  -s ours am: 9294cf83d9 am: e6235ebca3
am: 5a066c39a6

* commit '5a066c39a6149d155ba7b4a6aada49bf6bfe240a':
  Revert "Use resolved path for both checking and opening."

3 years agoRevert "Use resolved path for both checking and opening." am: 6947a091f1 am: cd15221e...
Jeff Sharkey [Fri, 15 Jan 2016 21:10:19 +0000]
Revert "Use resolved path for both checking and opening." am: 6947a091f1 am: cd15221e33 am: 9f47480ba2  -s ours am: 9294cf83d9
am: e6235ebca3

* commit 'e6235ebca3a939ccce6d0e93ce0902332ca7690d':
  Revert "Use resolved path for both checking and opening."

3 years agoRevert "Use resolved path for both checking and opening." am: 6947a091f1 am: cd15221e...
Jeff Sharkey [Fri, 15 Jan 2016 21:01:08 +0000]
Revert "Use resolved path for both checking and opening." am: 6947a091f1 am: cd15221e33 am: 9f47480ba2  -s ours
am: 9294cf83d9

* commit '9294cf83d93386caae1103ea9c969ff3e6e8f85d':
  Revert "Use resolved path for both checking and opening."

3 years agoRevert "Use resolved path for both checking and opening." am: 6947a091f1 am: cd15221e33
Jeff Sharkey [Fri, 15 Jan 2016 20:52:17 +0000]
Revert "Use resolved path for both checking and opening." am: 6947a091f1 am: cd15221e33
am: 9f47480ba2  -s ours

* commit '9f47480ba25b08c4e16506e9de21f11e79d4d06d':
  Revert "Use resolved path for both checking and opening."

3 years agoUse resolved path for both checking and opening. am: 5accb13517 am: 3784acf34c am...
Jeff Sharkey [Fri, 15 Jan 2016 20:38:38 +0000]
Use resolved path for both checking and opening. am: 5accb13517 am: 3784acf34c am: 721a135472  -s ours am: fcbe3a53fa am: da4797f794 am: 9ee6a555cf
am: ecd0dab75b

* commit 'ecd0dab75b2ec0cc7ee1387b5e3b404ce6c4b898':
  Use resolved path for both checking and opening.

3 years agoUse resolved path for both checking and opening. am: 5accb13517 am: 3784acf34c am...
Jeff Sharkey [Fri, 15 Jan 2016 20:36:47 +0000]
Use resolved path for both checking and opening. am: 5accb13517 am: 3784acf34c am: 721a135472  -s ours am: fcbe3a53fa am: da4797f794
am: 9ee6a555cf

* commit '9ee6a555cf969fcd23d95dcc24ea0fe66f69a3f6':
  Use resolved path for both checking and opening.

3 years agoUse resolved path for both checking and opening. am: 5accb13517 am: 3784acf34c am...
Jeff Sharkey [Fri, 15 Jan 2016 20:35:06 +0000]
Use resolved path for both checking and opening. am: 5accb13517 am: 3784acf34c am: 721a135472  -s ours am: fcbe3a53fa
am: da4797f794

* commit 'da4797f794042c11fd18262f22e4f4e4df5f32c6':
  Use resolved path for both checking and opening.

3 years agoUse resolved path for both checking and opening. am: 5accb13517 am: 3784acf34c am...
Jeff Sharkey [Fri, 15 Jan 2016 20:32:35 +0000]
Use resolved path for both checking and opening. am: 5accb13517 am: 3784acf34c am: 721a135472  -s ours
am: fcbe3a53fa

* commit 'fcbe3a53fa23b4ed0368ecbd55a1c21b504aff09':
  Use resolved path for both checking and opening.

3 years agoUse resolved path for both checking and opening. am: 5accb13517 am: 3784acf34c
Jeff Sharkey [Fri, 15 Jan 2016 20:24:42 +0000]
Use resolved path for both checking and opening. am: 5accb13517 am: 3784acf34c
am: 721a135472  -s ours

* commit '721a13547271c7af1629268d5e3b5e6361555270':
  Use resolved path for both checking and opening.

3 years agoUse resolved path for both checking and opening. am: 5c08fb8cbe am: 5d406ad384 am...
Jeff Sharkey [Fri, 15 Jan 2016 19:12:35 +0000]
Use resolved path for both checking and opening. am: 5c08fb8cbe am: 5d406ad384 am: 9d3bd7d1ea
am: 13fbee9d2e

* commit '13fbee9d2e3421ba0750ad617adf75bd4f30334d':
  Use resolved path for both checking and opening.

3 years agoUse resolved path for both checking and opening. am: 5c08fb8cbe am: 5d406ad384
Jeff Sharkey [Fri, 15 Jan 2016 19:08:43 +0000]
Use resolved path for both checking and opening. am: 5c08fb8cbe am: 5d406ad384
am: 9d3bd7d1ea

* commit '9d3bd7d1ea05f012609c47bd9410a5e9f66fe09e':
  Use resolved path for both checking and opening.

3 years agoUse resolved path for both checking and opening. am: bdc831357e
Jeff Sharkey [Fri, 15 Jan 2016 19:08:43 +0000]
Use resolved path for both checking and opening. am: bdc831357e
am: 0e710ca30d

* commit '0e710ca30d0b04843b3d2e83755e35fe092cfd4a':
  Use resolved path for both checking and opening.

3 years agoRevert "Use resolved path for both checking and opening." am: 6947a091f1
Jeff Sharkey [Fri, 15 Jan 2016 19:08:42 +0000]
Revert "Use resolved path for both checking and opening." am: 6947a091f1
am: cd15221e33

* commit 'cd15221e332ec8beca4870099de41dde6f5a3213':
  Revert "Use resolved path for both checking and opening."

3 years agoRevert "Use resolved path for both checking and opening."
Jeff Sharkey [Fri, 15 Jan 2016 19:04:46 +0000]
Revert "Use resolved path for both checking and opening."
am: 6947a091f1

* commit '6947a091f1d9d2b62f5d4a6429df2679ffe5434b':
  Revert "Use resolved path for both checking and opening."

3 years agoUse resolved path for both checking and opening. am: 5c08fb8cbe
Jeff Sharkey [Fri, 15 Jan 2016 19:04:46 +0000]
Use resolved path for both checking and opening. am: 5c08fb8cbe
am: 5d406ad384

* commit '5d406ad38446af78bc904d8141d2856a6a5a8dfd':
  Use resolved path for both checking and opening.

3 years agoUse resolved path for both checking and opening. am: 5accb13517
Jeff Sharkey [Fri, 15 Jan 2016 19:04:46 +0000]
Use resolved path for both checking and opening. am: 5accb13517
am: 3784acf34c

* commit '3784acf34cce6aed448b3f3541b6734b79efb31d':
  Use resolved path for both checking and opening.

3 years agoUse resolved path for both checking and opening.
Jeff Sharkey [Fri, 15 Jan 2016 19:01:51 +0000]
Use resolved path for both checking and opening.
am: bdc831357e

* commit 'bdc831357e7a116bc561d51bf2ddc85ff11c01a9':
  Use resolved path for both checking and opening.

3 years agoUse resolved path for both checking and opening.
Jeff Sharkey [Fri, 15 Jan 2016 18:59:09 +0000]
Use resolved path for both checking and opening.
am: 5c08fb8cbe

* commit '5c08fb8cbeb045b9ce447443208e87f42604d168':
  Use resolved path for both checking and opening.

3 years agoUse resolved path for both checking and opening.
Jeff Sharkey [Fri, 15 Jan 2016 18:59:02 +0000]
Use resolved path for both checking and opening.
am: 5accb13517

* commit '5accb135178325878840c6e36fc3e640ae582dea':
  Use resolved path for both checking and opening.

3 years agoRevert "Use resolved path for both checking and opening."
Jeff Sharkey [Fri, 15 Jan 2016 18:51:24 +0000]
Revert "Use resolved path for both checking and opening."

This reverts commit 5accb135178325878840c6e36fc3e640ae582dea.

Change-Id: I5ec1719b28feafb5b0850ec7c17cf23571ab0bba

3 years agoUse resolved path for both checking and opening.
Jeff Sharkey [Thu, 7 Jan 2016 21:15:59 +0000]
Use resolved path for both checking and opening.

This avoids a race condition where someone can change a symlink
target after the security checks have passed.

Bug: 26211054
Change-Id: I5842aaecc7b7d417a3b1902957b59b8a1f3c1ccb

3 years agoUse resolved path for both checking and opening.
Jeff Sharkey [Thu, 7 Jan 2016 21:15:59 +0000]
Use resolved path for both checking and opening.

This avoids a race condition where someone can change a symlink
target after the security checks have passed.

Bug: 26211054
Change-Id: I5842aaecc7b7d417a3b1902957b59b8a1f3c1ccb

3 years agoUse resolved path for both checking and opening.
Jeff Sharkey [Thu, 7 Jan 2016 21:15:59 +0000]
Use resolved path for both checking and opening.

This avoids a race condition where someone can change a symlink
target after the security checks have passed.

Bug: 26211054
Change-Id: I5842aaecc7b7d417a3b1902957b59b8a1f3c1ccb

4 years agoam 65d94cee: Merge "Make DownloadProvider honor the cleartext traffic policy."
Alex Klyubin [Wed, 1 Apr 2015 22:10:48 +0000]
am 65d94cee: Merge "Make DownloadProvider honor the cleartext traffic policy."

* commit '65d94cee4a6d4d5f9bc887a89f46eaf9d2570ad9':
  Make DownloadProvider honor the cleartext traffic policy.

4 years agoMerge "Make DownloadProvider honor the cleartext traffic policy."
Alex Klyubin [Wed, 1 Apr 2015 21:49:48 +0000]
Merge "Make DownloadProvider honor the cleartext traffic policy."

4 years agoMake DownloadProvider honor the cleartext traffic policy.
Alex Klyubin [Fri, 27 Mar 2015 17:17:55 +0000]
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

4 years agoam 5e116a6d: (-s ours) Import translations. DO NOT MERGE
Geoff Mendal [Fri, 27 Feb 2015 16:34:35 +0000]
am 5e116a6d: (-s ours) Import translations. DO NOT MERGE

* commit '5e116a6d63b4f5060041adeeb1bdc2b0585266cd':
  Import translations. DO NOT MERGE

4 years agoImport translations. DO NOT MERGE
Geoff Mendal [Fri, 27 Feb 2015 01:07:13 +0000]
Import translations. DO NOT MERGE

Change-Id: Id2255cf5429382da0169e8a98b4bc7a613fc046b
Auto-generated-cl: translation import

4 years agoam c7c23071: (-s ours) Import translations. DO NOT MERGE
Geoff Mendal [Fri, 13 Feb 2015 01:14:48 +0000]
am c7c23071: (-s ours) Import translations. DO NOT MERGE

* commit 'c7c23071be84c8df58cc59a9597ae84af5cac026':
  Import translations. DO NOT MERGE

4 years agoImport translations. DO NOT MERGE
Geoff Mendal [Fri, 13 Feb 2015 01:06:13 +0000]
Import translations. DO NOT MERGE

Change-Id: I5f4b68932cc08ca445a573449eb1259afd1e1c96
Auto-generated-cl: translation import

4 years agoam 35558a84: am f3679d03: Can not continue to download after powering on the...
Benson Huang [Fri, 16 Jan 2015 23:02:32 +0000]
am 35558a84: am f3679d03:     Can not continue to download after powering on the phone

* commit '35558a84c1f211005091f3e3b622631d8a21023b':
  Can not continue to download after powering on the phone

4 years agoam f3679d03: Can not continue to download after powering on the phone
Benson Huang [Fri, 16 Jan 2015 22:56:54 +0000]
am f3679d03:     Can not continue to download after powering on the phone

* commit 'f3679d0367cd8a0e72875800decf9f63033645a0':
  Can not continue to download after powering on the phone

4 years ago Can not continue to download after powering on the phone
Benson Huang [Thu, 15 Jan 2015 01:58:45 +0000]
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

4 years agoam 36957351: am 1bb7a08a: Use FileUtils to validate FAT filenames.
Jeff Sharkey [Mon, 1 Dec 2014 20:00:40 +0000]
am 36957351: am 1bb7a08a: Use FileUtils to validate FAT filenames.

* commit '36957351d75fd52ae0eb1eb94764ad472d3afd4f':
  Use FileUtils to validate FAT filenames.

4 years agoam 1bb7a08a: Use FileUtils to validate FAT filenames.
Jeff Sharkey [Mon, 1 Dec 2014 19:00:57 +0000]
am 1bb7a08a: Use FileUtils to validate FAT filenames.

* commit '1bb7a08a3df915e84647bc8a5ca87cc157378e61':
  Use FileUtils to validate FAT filenames.

4 years agoUse FileUtils to validate FAT filenames.
Jeff Sharkey [Wed, 26 Nov 2014 21:41:36 +0000]
Use FileUtils to validate FAT filenames.

Bug: 18512473
Change-Id: I686c7c3487f789dc0437513fbc6fed54dc62721f

4 years agoam 0a910e21: Connection: close is enough to know length. automerge: 0032d17
Jeff Sharkey [Mon, 10 Nov 2014 22:35:56 +0000]
am 0a910e21: Connection: close is enough to know length. automerge: 0032d17

* commit '0a910e216a08af574707f82ce865753e26ed8dda':
  Connection: close is enough to know length.

4 years agoConnection: close is enough to know length.
Jeff Sharkey [Mon, 10 Nov 2014 18:27:44 +0000]
Connection: close is enough to know length.
automerge: 0032d17

* commit '0032d17c1ddbabfea528eb55ca5d03281871f848':
  Connection: close is enough to know length.

4 years agoConnection: close is enough to know length.
Jeff Sharkey [Mon, 10 Nov 2014 18:06:14 +0000]
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

4 years agoam 5b5df6e7: am 83cf6d5b: Defeat connection reuse to really cancel.
Jeff Sharkey [Fri, 7 Nov 2014 22:55:33 +0000]
am 5b5df6e7: am 83cf6d5b: Defeat connection reuse to really cancel.

* commit '5b5df6e7e71528cc046410746b529bc5243e74a0':
  Defeat connection reuse to really cancel.

4 years agoam 83cf6d5b: Defeat connection reuse to really cancel.
Jeff Sharkey [Fri, 7 Nov 2014 22:50:35 +0000]
am 83cf6d5b: Defeat connection reuse to really cancel.

* commit '83cf6d5b7504abda93420d04efa4f96d5f86a1df':
  Defeat connection reuse to really cancel.

4 years agoDefeat connection reuse to really cancel.
Jeff Sharkey [Fri, 7 Nov 2014 22:41:24 +0000]
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

4 years agoam b4353615: (-s ours) Import translations. DO NOT MERGE
Baligh Uddin [Fri, 31 Oct 2014 17:07:31 +0000]
am b4353615: (-s ours) Import translations. DO NOT MERGE

* commit 'b4353615031e181b666417848f9e7a4283a6265a':
  Import translations. DO NOT MERGE

4 years agoImport translations. DO NOT MERGE
Baligh Uddin [Thu, 30 Oct 2014 18:07:35 +0000]
Import translations. DO NOT MERGE

Change-Id: Ie329aaf9058c32a171db7220157db9d8a1f02eb7
Auto-generated-cl: translation import

4 years agoam 8f21a39f: am a2a4cdbb: Merge "Fix compilation after update to MockWebServer"
Neil Fuller [Wed, 29 Oct 2014 17:13:52 +0000]
am 8f21a39f: am a2a4cdbb: Merge "Fix compilation after update to MockWebServer"

* commit '8f21a39fcac1343f32f45a072b715e4cd8772836':
  Fix compilation after update to MockWebServer

4 years agoam 1b1c5777: (-s ours) am 7460b6e0: (-s ours) Import translations. DO NOT MERGE
Baligh Uddin [Wed, 29 Oct 2014 07:00:59 +0000]
am 1b1c5777: (-s ours) am 7460b6e0: (-s ours) Import translations. DO NOT MERGE

* commit '1b1c5777ba1f828810ecea762afa9e0e462f0ad9':

4 years agoam 9d59053e: Trim stale downloads from third-party apps. automerge: e24609e
Jeff Sharkey [Wed, 29 Oct 2014 07:00:59 +0000]
am 9d59053e: Trim stale downloads from third-party apps. automerge: e24609e

* commit '9d59053e3e9167fe3771cc6445ef907d7d4d63fe':

4 years agoam 27efaa6f: am e8175658: Merge "Materialize some shadows!" into lmp-dev
Jeff Sharkey [Wed, 29 Oct 2014 07:00:58 +0000]
am 27efaa6f: am e8175658: Merge "Materialize some shadows!" into lmp-dev

* commit '27efaa6f7457176a3b4d8b0b04a4622e85efff71':

4 years agoam b4f1c7f1: (-s ours) am eb140c18: (-s ours) Import translations. DO NOT MERGE
Baligh Uddin [Wed, 29 Oct 2014 07:00:58 +0000]
am b4f1c7f1: (-s ours) am eb140c18: (-s ours) Import translations. DO NOT MERGE

* commit 'b4f1c7f17429dec5683447f8bf9674da6feb70d0':

4 years agoam f89882e4: (-s ours) am 7a518a30: (-s ours) am 09128d0a: (-s ours) Import translati...
Baligh Uddin [Wed, 29 Oct 2014 07:00:57 +0000]
am f89882e4: (-s ours) am 7a518a30: (-s ours) am 09128d0a: (-s ours) Import translations. DO NOT MERGE

* commit 'f89882e431314ac3fa3b1f786c8c394631faec25':

4 years agoam a2a4cdbb: Merge "Fix compilation after update to MockWebServer"
Neil Fuller [Tue, 28 Oct 2014 17:34:25 +0000]
am a2a4cdbb: Merge "Fix compilation after update to MockWebServer"

* commit 'a2a4cdbb0fb83fb4350be77a8c7fc8a9181f9408':
  Fix compilation after update to MockWebServer

4 years agoEnsure that downloads stop quickly. automerge: da9d77a
Jeff Sharkey [Tue, 28 Oct 2014 03:36:32 +0000]
Ensure that downloads stop quickly. automerge: da9d77a
automerge: 94a5718

* commit '94a5718e1d7c4b8ab2bf4c6a45ed9f1be187ef4b':
  Ensure that downloads stop quickly.

4 years agoEnsure that downloads stop quickly.
Jeff Sharkey [Tue, 28 Oct 2014 00:45:43 +0000]
Ensure that downloads stop quickly.
automerge: da9d77a

* commit 'da9d77a478a2ab33ad81066012cab73b7c9dee3f':
  Ensure that downloads stop quickly.

4 years agoEnsure that downloads stop quickly.
Jeff Sharkey [Mon, 27 Oct 2014 23:29:56 +0000]
Ensure that downloads stop quickly.

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

4 years agoam 5b2bfeee: am d9492e17: Fix compilation after update to MockWebServer
Neil Fuller [Mon, 27 Oct 2014 11:24:09 +0000]
am 5b2bfeee: am d9492e17: Fix compilation after update to MockWebServer

* commit '5b2bfeee5257c6ec2952157343314eaea6fb86b3':
  Fix compilation after update to MockWebServer

4 years agoam d9492e17: Fix compilation after update to MockWebServer
Neil Fuller [Mon, 27 Oct 2014 11:19:53 +0000]
am d9492e17: Fix compilation after update to MockWebServer

* commit 'd9492e1781af07a0a5d7a8135118bf75febab6e4':
  Fix compilation after update to MockWebServer

4 years agoFix compilation after update to MockWebServer
Neil Fuller [Mon, 27 Oct 2014 10:39:06 +0000]
Fix compilation after update to MockWebServer

Bug: 18083851
(cherry pick from commit f1cd37d8bade42be0632f54dcd61f81711269606)

Change-Id: I93f14e171abc7a52fe2117c8503374734147513b

4 years agoMerge "Fix compilation after update to MockWebServer"
Neil Fuller [Mon, 27 Oct 2014 11:02:26 +0000]
Merge "Fix compilation after update to MockWebServer"

4 years agoFix compilation after update to MockWebServer
Neil Fuller [Mon, 27 Oct 2014 10:39:06 +0000]
Fix compilation after update to MockWebServer

Bug: 18083851
Change-Id: I611263f111627b6550517f7d6772544dfd5ffdc2

4 years agoam 26bc8ca2: (-s ours) am d22d556a: (-s ours) Import translations. DO NOT MERGE
Geoff Mendal [Mon, 20 Oct 2014 20:43:36 +0000]
am 26bc8ca2: (-s ours) am d22d556a: (-s ours) Import translations. DO NOT MERGE

* commit '26bc8ca28401a108dbc0e686441c6501ff525750':
  Import translations. DO NOT MERGE

4 years agoam 07564951: (-s ours) Import translations. DO NOT MERGE
Geoff Mendal [Mon, 20 Oct 2014 20:43:36 +0000]
am 07564951: (-s ours) Import translations. DO NOT MERGE

* commit '075649517428dfadeeb3084f50b535f30fedeaa6':
  Import translations. DO NOT MERGE

4 years agoam d22d556a: (-s ours) Import translations. DO NOT MERGE
Geoff Mendal [Mon, 20 Oct 2014 20:39:53 +0000]
am d22d556a: (-s ours) Import translations. DO NOT MERGE

* commit 'd22d556aacfdf2534ea54f846078f736e936f9f7':
  Import translations. DO NOT MERGE

4 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 20 Oct 2014 20:37:13 +0000]
Import translations. DO NOT MERGE

Change-Id: I5c3fd9c153afdab44a4ccbd1f67420f2250b7f51
Auto-generated-cl: translation import

4 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 20 Oct 2014 20:36:37 +0000]
Import translations. DO NOT MERGE

Change-Id: Ib845cd731b8a0096914cf59a737af13291a2490c
Auto-generated-cl: translation import

4 years agoam f2b99f2b: (-s ours) am 336e49a0: (-s ours) am 64cb0d20: (-s ours) am 7460b6e0...
Baligh Uddin [Sun, 19 Oct 2014 22:31:20 +0000]
am f2b99f2b: (-s ours) am 336e49a0: (-s ours) am 64cb0d20: (-s ours) am 7460b6e0: (-s ours) Import translations. DO NOT MERGE

* commit 'f2b99f2b88847c3ad323f388a52c8192e962da6b':
  Import translations. DO NOT MERGE

4 years agoam 336e49a0: (-s ours) am 64cb0d20: (-s ours) am 7460b6e0: (-s ours) Import translati...
Baligh Uddin [Sun, 19 Oct 2014 22:24:45 +0000]
am 336e49a0: (-s ours) am 64cb0d20: (-s ours) am 7460b6e0: (-s ours) Import translations. DO NOT MERGE

* commit '336e49a0e7dd1a2f2a40b27def83b912c17c6289':
  Import translations. DO NOT MERGE

4 years agoam 64cb0d20: (-s ours) am 7460b6e0: (-s ours) Import translations. DO NOT MERGE
Baligh Uddin [Sun, 19 Oct 2014 22:19:53 +0000]
am 64cb0d20: (-s ours) am 7460b6e0: (-s ours) Import translations. DO NOT MERGE

* commit '64cb0d20fdd097b73cab76add01787c590aefefa':
  Import translations. DO NOT MERGE

4 years agoam 7460b6e0: (-s ours) Import translations. DO NOT MERGE
Baligh Uddin [Sun, 19 Oct 2014 22:13:27 +0000]
am 7460b6e0: (-s ours) Import translations. DO NOT MERGE

* commit '7460b6e0abad953fc8946296fa3f11bc4b1b60c6':
  Import translations. DO NOT MERGE

4 years agoam 7460b6e0: (-s ours) Import translations. DO NOT MERGE
Baligh Uddin [Sun, 19 Oct 2014 22:13:09 +0000]
am 7460b6e0: (-s ours) Import translations. DO NOT MERGE

* commit '7460b6e0abad953fc8946296fa3f11bc4b1b60c6':
  Import translations. DO NOT MERGE

4 years agoImport translations. DO NOT MERGE
Baligh Uddin [Sun, 19 Oct 2014 20:55:05 +0000]
Import translations. DO NOT MERGE

Change-Id: I0f6aaf82b8f334b1d0cdc2b076fa0d64a92ed5fe
Auto-generated-cl: translation import

4 years agoam 005ac217: am 3ee03ac3: am e24609e8: Trim stale downloads from third-party apps.
Jeff Sharkey [Fri, 17 Oct 2014 08:05:47 +0000]
am 005ac217: am 3ee03ac3: am e24609e8: Trim stale downloads from third-party apps.
automerge: 27b16cb

* commit '27b16cbf4f78890a4f5578598285f8c01892c657':
  Trim stale downloads from third-party apps.

4 years agoam 005ac217: am 3ee03ac3: am e24609e8: Trim stale downloads from third-party apps.
Jeff Sharkey [Fri, 17 Oct 2014 07:38:02 +0000]
am 005ac217: am 3ee03ac3: am e24609e8: Trim stale downloads from third-party apps.

* commit '005ac217ed1aa837a52d3830925829007594ef3d':
  Trim stale downloads from third-party apps.

4 years agoam 3ee03ac3: am e24609e8: Trim stale downloads from third-party apps.
Jeff Sharkey [Fri, 17 Oct 2014 07:28:29 +0000]
am 3ee03ac3: am e24609e8: Trim stale downloads from third-party apps.

* commit '3ee03ac36f0f849b78936cf18972fe2f24a61722':
  Trim stale downloads from third-party apps.

4 years agoam e24609e8: Trim stale downloads from third-party apps.
Jeff Sharkey [Fri, 17 Oct 2014 06:07:33 +0000]
am e24609e8: Trim stale downloads from third-party apps.

* commit 'e24609e8f2aada5cb8ac1c3e93141b260e201efe':
  Trim stale downloads from third-party apps.

4 years agoTrim stale downloads from third-party apps.
Jeff Sharkey [Thu, 16 Oct 2014 22:16:04 +0000]
Trim stale downloads from third-party apps.
automerge: e24609e

* commit 'e24609e8f2aada5cb8ac1c3e93141b260e201efe':
  Trim stale downloads from third-party apps.

4 years agoTrim stale downloads from third-party apps.
Jeff Sharkey [Thu, 16 Oct 2014 21:40:23 +0000]
Trim stale downloads from third-party apps.

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

4 years agoam efa4bfce: (-s ours) am 98be4b70: (-s ours) Import translations. DO NOT MERGE
Geoff Mendal [Wed, 15 Oct 2014 22:09:34 +0000]
am efa4bfce: (-s ours) am 98be4b70: (-s ours) Import translations. DO NOT MERGE

* commit 'efa4bfce583c6b6580d0c45ab7c5cb68a7350e38':
  Import translations. DO NOT MERGE

4 years agoam 98be4b70: (-s ours) Import translations. DO NOT MERGE
Geoff Mendal [Wed, 15 Oct 2014 22:05:59 +0000]
am 98be4b70: (-s ours) Import translations. DO NOT MERGE

* commit '98be4b708d4ffc1c5b497c198e0ca1d85f8ab7c0':
  Import translations. DO NOT MERGE

4 years agoam 5daa6dd1: (-s ours) Import translations. DO NOT MERGE
Geoff Mendal [Wed, 15 Oct 2014 22:02:29 +0000]
am 5daa6dd1: (-s ours) Import translations. DO NOT MERGE

* commit '5daa6dd11cfe3bc7b814dd994b1fdc7ad878de9f':
  Import translations. DO NOT MERGE

4 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 15 Oct 2014 21:57:10 +0000]
Import translations. DO NOT MERGE

Change-Id: Ic66e217fd598ae7471342bcd2eccc8a245a754a8
Auto-generated-cl: translation import

4 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 15 Oct 2014 21:56:31 +0000]
Import translations. DO NOT MERGE

Change-Id: I74466a8344827f06133073b4802b6fbdaad9934d
Auto-generated-cl: translation import

4 years agoam 3befe49d: am 250a1ebc: Fix internationalization of percentage formatting in Downlo...
Elliott Hughes [Mon, 13 Oct 2014 16:34:33 +0000]
am 3befe49d: am 250a1ebc: Fix internationalization of percentage formatting in DownloadProvider.

* commit '3befe49d5bd320a8ffd8e36f47376bb821f7b0da':
  Fix internationalization of percentage formatting in DownloadProvider.

4 years agoam 250a1ebc: Fix internationalization of percentage formatting in DownloadProvider.
Elliott Hughes [Mon, 13 Oct 2014 16:31:36 +0000]
am 250a1ebc: Fix internationalization of percentage formatting in DownloadProvider.

* commit '250a1ebc4cf52edf4e55a594f05f4a351ee8e126':
  Fix internationalization of percentage formatting in DownloadProvider.

4 years agoFix internationalization of percentage formatting in DownloadProvider.
Elliott Hughes [Fri, 10 Oct 2014 19:11:13 +0000]
Fix internationalization of percentage formatting in DownloadProvider.

Bug: 15476051
Change-Id: I085c074f1bb66631872712cab68bcaf6ee7ba7dc

4 years agoam e3ced585: am 9292533d: am 53c49235: am e8175658: Merge "Materialize some shadows...
Jeff Sharkey [Wed, 1 Oct 2014 23:00:15 +0000]
am e3ced585: am 9292533d: am 53c49235: am e8175658: Merge "Materialize some shadows!" into lmp-dev

* commit 'e3ced5852ff655671b6a01c06b88077f050ae8ae':
  Materialize some shadows!

4 years agoam 84a8ddea: (-s ours) am c056b456: (-s ours) am 890cfb8a: (-s ours) am eb140c18...
Baligh Uddin [Wed, 1 Oct 2014 23:00:15 +0000]
am 84a8ddea: (-s ours) am c056b456: (-s ours) am 890cfb8a: (-s ours) am eb140c18: (-s ours) Import translations. DO NOT MERGE

* commit '84a8ddea1c4cdebd287e25783e9a39fa3182f139':
  Import translations. DO NOT MERGE

4 years agoam 9292533d: am 53c49235: am e8175658: Merge "Materialize some shadows!" into lmp-dev
Jeff Sharkey [Wed, 1 Oct 2014 17:03:24 +0000]
am 9292533d: am 53c49235: am e8175658: Merge "Materialize some shadows!" into lmp-dev

* commit '9292533d4b80fbffdce5499f199a55505d287f18':
  Materialize some shadows!

4 years agoam 53c49235: am e8175658: Merge "Materialize some shadows!" into lmp-dev
Jeff Sharkey [Wed, 1 Oct 2014 15:24:04 +0000]
am 53c49235: am e8175658: Merge "Materialize some shadows!" into lmp-dev

* commit '53c492358a2fabc1189c43d573602b21a38ce33b':
  Materialize some shadows!

4 years agoam e8175658: Merge "Materialize some shadows!" into lmp-dev
Jeff Sharkey [Wed, 1 Oct 2014 15:01:01 +0000]
am e8175658: Merge "Materialize some shadows!" into lmp-dev

* commit 'e8175658d3a16a3fd8c60a9c6760268e74d0b81f':
  Materialize some shadows!

4 years agoam e8175658: Merge "Materialize some shadows!" into lmp-dev
Jeff Sharkey [Tue, 30 Sep 2014 21:14:53 +0000]
am e8175658: Merge "Materialize some shadows!" into lmp-dev

* commit 'e8175658d3a16a3fd8c60a9c6760268e74d0b81f':
  Materialize some shadows!

4 years agoMerge "Materialize some shadows!" into lmp-dev
Jeff Sharkey [Tue, 30 Sep 2014 21:10:17 +0000]
Merge "Materialize some shadows!" into lmp-dev