am e6f856c9: am 0ca68a06: Cleanup of process-specific DNS.

Merge commit 'e6f856c916c172ebd54e40fa11c356845c347ca2'

* commit 'e6f856c916c172ebd54e40fa11c356845c347ca2':
  Cleanup of process-specific DNS.
This commit is contained in:
Robert Greenwalt
2009-12-18 14:37:28 -08:00
committed by Android Git Automerger

View File

@@ -667,8 +667,8 @@ public class ConnectivityService extends IConnectivityManager.Stub {
}
if (usedNetworkType != networkType) {
Integer currentPid = new Integer(pid);
reassessPidDns(pid, true);
mNetRequestersPids[usedNetworkType].remove(currentPid);
reassessPidDns(pid, true);
if (mNetRequestersPids[usedNetworkType].size() != 0) {
if (DBG) Log.d(TAG, "not tearing down special network - " +
"others still using it");