Merge "Fix networktype on per process DNS setting"

This commit is contained in:
repo sync
2011-08-02 14:48:43 -07:00
committed by Android (Google) Code Review

View File

@@ -900,7 +900,7 @@ public class ConnectivityService extends IConnectivityManager.Stub {
!network.isTeardownRequested()) {
if (ni.isConnected() == true) {
// add the pid-specific dns
handleDnsConfigurationChange(networkType);
handleDnsConfigurationChange(usedNetworkType);
if (DBG) log("special network already active");
return Phone.APN_ALREADY_ACTIVE;
}