summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorErik Kline <ek@google.com>2015-01-19 16:19:09 +0900
committerErik Kline <ek@google.com>2015-01-21 12:02:11 +0900
commit338317edd553ff9e5c0e7bdb61fce478d89ecdd4 (patch)
treef6d0f938ae7a8328798ef74f9484d4e4ef05bcac /services
parent2bc2a99406d1d0a4a6c0a6a5ec39f5f9273a1634 (diff)
downloadframeworks_base-338317edd553ff9e5c0e7bdb61fce478d89ecdd4.zip
frameworks_base-338317edd553ff9e5c0e7bdb61fce478d89ecdd4.tar.gz
frameworks_base-338317edd553ff9e5c0e7bdb61fce478d89ecdd4.tar.bz2
Log interface name and uid when filtering a blocked network.
Bug: 18707263 Change-Id: Ide9a1670a97eae787b785933de0c80750c2b5601
Diffstat (limited to 'services')
-rw-r--r--services/core/java/com/android/server/ConnectivityService.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/ConnectivityService.java b/services/core/java/com/android/server/ConnectivityService.java
index 61a7073..7ab8222 100644
--- a/services/core/java/com/android/server/ConnectivityService.java
+++ b/services/core/java/com/android/server/ConnectivityService.java
@@ -907,7 +907,10 @@ public class ConnectivityService extends IConnectivityManager.Stub
// network is blocked; clone and override state
info = new NetworkInfo(info);
info.setDetailedState(DetailedState.BLOCKED, null, null);
- if (DBG) log("returning Blocked NetworkInfo");
+ if (DBG) {
+ log("returning Blocked NetworkInfo for ifname=" +
+ lp.getInterfaceName() + ", uid=" + uid);
+ }
}
if (info != null && mLockdownTracker != null) {
info = mLockdownTracker.augmentNetworkInfo(info);