commit | a85832b4772626852142b60c4806ff5384a76478 | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Mon Dec 17 17:05:03 2012 -0800 |
committer | Jeff Sharkey <jsharkey@android.com> | Mon Dec 17 17:05:03 2012 -0800 |
tree | 29028dabfdc4780da17bacbbbdaa4ff80f33cff0 | |
parent | 3b3bbfe2cdd1988a38bcf780191e5273f9a62024 [diff] |
Always append to files, handle end of stream. Fix bug where resumed downloads wouldn't open in append mode. Handle end of stream exceptions from URLConnection as special-case for now to keep tests passing. Move stream creation outside of DrmOutputStream, and always fsync() before closing files. Treat HTTP header errors as retryable. Add explicit state checks to redirection tests. Change-Id: I19d007284f6bfbffaac93859fe47cd98b79a59c4