Add Logging around getNetworkInfo.
bug:16610051 Change-Id: I04f19efc99bce6d990364291b6cd8105f08ab263
This commit is contained in:
@@ -838,9 +838,11 @@ public class ConnectivityService extends IConnectivityManager.Stub {
|
|||||||
// network is blocked; clone and override state
|
// network is blocked; clone and override state
|
||||||
info = new NetworkInfo(info);
|
info = new NetworkInfo(info);
|
||||||
info.setDetailedState(DetailedState.BLOCKED, null, null);
|
info.setDetailedState(DetailedState.BLOCKED, null, null);
|
||||||
|
if (VDBG) log("returning Blocked NetworkInfo");
|
||||||
}
|
}
|
||||||
if (mLockdownTracker != null) {
|
if (mLockdownTracker != null) {
|
||||||
info = mLockdownTracker.augmentNetworkInfo(info);
|
info = mLockdownTracker.augmentNetworkInfo(info);
|
||||||
|
if (VDBG) log("returning Locked NetworkInfo");
|
||||||
}
|
}
|
||||||
return info;
|
return info;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user