(GB MR) bug:3351783 don't store redirectcount in db
authorVasu Nori <vnori@google.com>
Sun, 16 Jan 2011 18:52:14 +0000 (10:52 -0800)
committerVasu Nori <vnori@google.com>
Sun, 16 Jan 2011 18:52:14 +0000 (10:52 -0800)
commit089951b2b78398975cf0e984356f9ed3b3ae4aa3
tree9195143e93f822cb5c6a1e73395da4eb5a413c19
parentb05fd02f1c19423acfff6bd2462e4940c0caf9ca
(GB MR) bug:3351783 don't store redirectcount in db

redirectcount shouldn't be stored in the db.
say, you are downloading a large app and there are redirects
involved inthe download.
if network connectivity changes during download, then download
is paused and resumed once connectivy is back on.
when the download is resumed, it should start with redirectcount of 0
instead of redirectcount from the previous download session.

Change-Id: I1acf2fb9491d24f5e109206a91dda3eea429e447
src/com/android/providers/downloads/DownloadInfo.java
src/com/android/providers/downloads/DownloadThread.java