Fix networktype on per process DNS setting

This potentially has no impact on mobile due to DNS settings being the same. Seperate this change out of the p2p change

Change-Id: I70fff9b1e13015956793b19732785037adb0af24
This commit is contained in:
repo sync
2011-08-02 13:39:06 -07:00
parent 6e02db1b8d
commit 3035f65a51

View File

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