Add Logging around getNetworkInfo.
bug:16610051 Change-Id: I04f19efc99bce6d990364291b6cd8105f08ab263
This commit is contained in:
parent
d55162bcda
commit
d8b18ff04e
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue