diff options
author | Robert Greenwalt <robdroid@android.com> | 2009-12-17 14:54:59 -0800 |
---|---|---|
committer | Robert Greenwalt <robdroid@android.com> | 2010-01-19 18:01:36 -0800 |
commit | 15abc90147333fccf7c9576cbf90d40d73e5a20f (patch) | |
tree | 7880b6a08134a951316b29de9b8c19209a4fd134 /services | |
parent | 5910cb53ea7085dff4c8c6b9c1edde5a1b59fa28 (diff) | |
download | frameworks_base-15abc90147333fccf7c9576cbf90d40d73e5a20f.zip frameworks_base-15abc90147333fccf7c9576cbf90d40d73e5a20f.tar.gz frameworks_base-15abc90147333fccf7c9576cbf90d40d73e5a20f.tar.bz2 |
Cleanup of process-specific DNS.
Backport of MR2 change 421c72b6.
Removes entries sooner. A bug.
Doesn't add one for phone process at all. This was intended to be removed long ago.
bug: 2329900
bug: 2377507
Diffstat (limited to 'services')
-rw-r--r-- | services/java/com/android/server/ConnectivityService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/java/com/android/server/ConnectivityService.java b/services/java/com/android/server/ConnectivityService.java index 5c0f352..14c70bc 100644 --- a/services/java/com/android/server/ConnectivityService.java +++ b/services/java/com/android/server/ConnectivityService.java @@ -661,8 +661,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"); |