am 0ca68a06: Cleanup of process-specific DNS.

Merge commit '0ca68a0633' into eclair-mr2-plus-aosp

* commit '0ca68a0633':
  Cleanup of process-specific DNS.
This commit is contained in:
Robert Greenwalt 2009-12-18 14:33:55 -08:00 • committed by Android Git Automerger
commit e6f856c916

View file

@ -660,8 +660,8 @@ public class ConnectivityService extends IConnectivityManager.Stub {
tracker = mNetTrackers[usedNetworkType];
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");