Merge "Fix networktype on per process DNS setting" am: 857b44da3f

Original change: undetermined

Change-Id: I5819bc4c88cb4a50240ba7c65755293d2fe88bef
This commit is contained in:
repo sync
2021-05-31 04:47:31 +00:00
committed by Automerger Merge Worker

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;
}