Implement multi-network downloads
[android/platform/packages/providers/DownloadProvider.git] / src / com / android / providers / downloads / SystemFacade.java
index 83fc7a6..7f97b91 100644 (file)
@@ -18,6 +18,7 @@ package com.android.providers.downloads;
 
 import android.content.Intent;
 import android.content.pm.PackageManager.NameNotFoundException;
+import android.net.Network;
 import android.net.NetworkInfo;
 
 interface SystemFacade {
@@ -32,6 +33,8 @@ interface SystemFacade {
      */
     public NetworkInfo getActiveNetworkInfo(int uid);
 
+    public Network getActiveNetwork(int uid);
+
     public boolean isActiveNetworkMetered();
 
     /**