Adjust timeouts to reduce false-positive bugs.
authorJeff Sharkey <jsharkey@android.com>
Tue, 26 Feb 2013 20:43:56 +0000 (12:43 -0800)
committerJeff Sharkey <jsharkey@android.com>
Tue, 26 Feb 2013 20:43:56 +0000 (12:43 -0800)
commit80a535d83ea9ed21f443fdc701c743569ae53eec
tree7de1281353a6dd415628287afd345791e43d2c1f
parent7ce206b2108714035eeed29c1dc268a3f1ccf359
Adjust timeouts to reduce false-positive bugs.

Otherwise we end up triggering MSG_FINAL_UPDATE while still waiting
for socket timeouts.  Using 20 seconds for timeout is more sane, and
matches Volley.

Bug: 8233041
Change-Id: Ia7220033a5942c46ca1d79a88e2b3f530cb3edac
src/com/android/providers/downloads/DownloadService.java
src/com/android/providers/downloads/DownloadThread.java