Add Logging around getNetworkInfo.

bug:16610051
Change-Id: I04f19efc99bce6d990364291b6cd8105f08ab263
This commit is contained in:
Robert Greenwalt
2014-08-01 16:56:05 -07:00
parent cfb3657167
commit 774a27f26c

View File

@@ -838,9 +838,11 @@ public class ConnectivityService extends IConnectivityManager.Stub {
// network is blocked; clone and override state
info = new NetworkInfo(info);
info.setDetailedState(DetailedState.BLOCKED, null, null);
if (VDBG) log("returning Blocked NetworkInfo");
}
if (mLockdownTracker != null) {
info = mLockdownTracker.augmentNetworkInfo(info);
if (VDBG) log("returning Locked NetworkInfo");
}
return info;
}