Implement multi-network downloads
authorRobin Lee <rgl@google.com>
Thu, 24 Mar 2016 12:02:50 +0000 (12:02 +0000)
committerRobin Lee <rgl@google.com>
Thu, 7 Apr 2016 15:14:11 +0000 (15:14 +0000)
commit26c68db9ccf1983f5d6e8a734f8ffccea3849f10
tree3654c7a8ff8c3a9c035756adda6a1b79fcbdc4b1
parenta013d5b1a3a66297ea9471767fcbfef7f6ba4d69
Implement multi-network downloads

Downloads should use the default network for the caller. This prevents
applications from, for example, bypassing VPN by routing all requests
through the DownloadProvider.

Bug: 27074270
Change-Id: I7830226dd2910757d3a5c78f373330f84637ccfa
src/com/android/providers/downloads/DownloadThread.java
src/com/android/providers/downloads/RealSystemFacade.java
src/com/android/providers/downloads/SystemFacade.java
tests/src/com/android/providers/downloads/FakeSystemFacade.java