summaryrefslogtreecommitdiffstats
path: root/src/com/android/providers/downloads/SystemFacade.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/providers/downloads/SystemFacade.java')
-rw-r--r--src/com/android/providers/downloads/SystemFacade.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/com/android/providers/downloads/SystemFacade.java b/src/com/android/providers/downloads/SystemFacade.java
index ed0d3306..a1e4098c 100644
--- a/src/com/android/providers/downloads/SystemFacade.java
+++ b/src/com/android/providers/downloads/SystemFacade.java
@@ -4,6 +4,7 @@ package com.android.providers.downloads;
import android.app.Notification;
import android.content.Intent;
import android.content.pm.PackageManager.NameNotFoundException;
+import android.net.NetworkInfo;
interface SystemFacade {
@@ -13,10 +14,10 @@ interface SystemFacade {
public long currentTimeMillis();
/**
- * @return Network type (as in ConnectivityManager.TYPE_*) of currently active network, or null
- * if there's no active connection.
+ * @return Currently active network, or null if there's no active
+ * connection.
*/
- public Integer getActiveNetworkType();
+ public NetworkInfo getActiveNetworkInfo(int uid);
/**
* @see android.telephony.TelephonyManager#isNetworkRoaming