make DownloadManager download over ethernet - do not merge
Doug Zongker [Thu, 10 Nov 2011 18:17:59 +0000 (10:17 -0800)]
This makes DownloadManager treat an ethernet connection like a wifi
one.  Will be okay for aah; fixing properly requires a DownloadManager
API change that we're not sure is allowed at this point.

Change-Id: Ie03479d334f5e09bd7a91f2998fc4b1f77b95e6a

src/com/android/providers/downloads/DownloadInfo.java

index 00b1045..1492afb 100644 (file)
@@ -415,6 +415,7 @@ public class DownloadInfo {
                 return DownloadManager.Request.NETWORK_MOBILE;
 
             case ConnectivityManager.TYPE_WIFI:
+            case ConnectivityManager.TYPE_ETHERNET:
                 return DownloadManager.Request.NETWORK_WIFI;
 
             default: