Defeat connection reuse to really cancel.
authorJeff Sharkey <jsharkey@android.com>
Fri, 7 Nov 2014 22:41:24 +0000 (14:41 -0800)
committerJeff Sharkey <jsharkey@android.com>
Fri, 7 Nov 2014 22:41:26 +0000 (14:41 -0800)
commit83cf6d5b7504abda93420d04efa4f96d5f86a1df
tree2783d2365aed80d91200c14d5f5addc2d0a9e00b
parentda9d77a478a2ab33ad81066012cab73b7c9dee3f
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
src/com/android/providers/downloads/DownloadThread.java