Revert some verbose logging from ag/489226
Bug: 18171889 Change-Id: I582a17b2272746e04717ac8da1d6984ff187ddf6
This commit is contained in:
@@ -71,7 +71,6 @@ import libcore.net.event.NetworkEventDispatcher;
|
|||||||
*/
|
*/
|
||||||
public class ConnectivityManager {
|
public class ConnectivityManager {
|
||||||
private static final String TAG = "ConnectivityManager";
|
private static final String TAG = "ConnectivityManager";
|
||||||
private static final boolean LEGACY_DBG = true; // STOPSHIP
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A change in network connectivity has occurred. A default connection has either
|
* A change in network connectivity has occurred. A default connection has either
|
||||||
@@ -880,14 +879,6 @@ public class ConnectivityManager {
|
|||||||
|
|
||||||
NetworkRequest request = null;
|
NetworkRequest request = null;
|
||||||
synchronized (sLegacyRequests) {
|
synchronized (sLegacyRequests) {
|
||||||
if (LEGACY_DBG) {
|
|
||||||
Log.d(TAG, "Looking for legacyRequest for netCap with hash: " + netCap + " (" +
|
|
||||||
netCap.hashCode() + ")");
|
|
||||||
Log.d(TAG, "sLegacyRequests has:");
|
|
||||||
for (NetworkCapabilities nc : sLegacyRequests.keySet()) {
|
|
||||||
Log.d(TAG, " " + nc + " (" + nc.hashCode() + ")");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
LegacyRequest l = sLegacyRequests.get(netCap);
|
LegacyRequest l = sLegacyRequests.get(netCap);
|
||||||
if (l != null) {
|
if (l != null) {
|
||||||
Log.d(TAG, "renewing startUsingNetworkFeature request " + l.networkRequest);
|
Log.d(TAG, "renewing startUsingNetworkFeature request " + l.networkRequest);
|
||||||
|
|||||||
Reference in New Issue
Block a user