Only add one User-Agent header.
authorJeff Sharkey <jsharkey@android.com>
Thu, 10 Jan 2013 19:12:52 +0000 (11:12 -0800)
committerJeff Sharkey <jsharkey@android.com>
Thu, 10 Jan 2013 19:13:23 +0000 (11:13 -0800)
commit89afc754d46a8574a9e014c7670746668de9f9b3
treefb4c46b31ac362bb0d8c5a98560cd1865b764615
parent0de55602ec6d350548248feddc68c91b29326eff
Only add one User-Agent header.

Also include more details when reporting HTTP error codes.

Bug: 7966393
Change-Id: I251b1ec7c827693817391b6e9fb8b0cab995395e
src/com/android/providers/downloads/DownloadThread.java
src/com/android/providers/downloads/StopRequestException.java