diff options
author | Erik Kline <ek@google.com> | 2015-01-19 16:19:09 +0900 |
---|---|---|
committer | Erik Kline <ek@google.com> | 2015-01-21 12:02:11 +0900 |
commit | 338317edd553ff9e5c0e7bdb61fce478d89ecdd4 (patch) | |
tree | f6d0f938ae7a8328798ef74f9484d4e4ef05bcac /services | |
parent | 2bc2a99406d1d0a4a6c0a6a5ec39f5f9273a1634 (diff) | |
download | frameworks_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.java | 5 |
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); |