resolved conflicts for merge of 9520d6af to honeycomb-plus-aosp am: 4d5ecf6bb2
Original change: undetermined Change-Id: Id5642f97d918aa821a2c7834f15e03703b50401b
This commit is contained in:
@@ -1985,6 +1985,12 @@ public class ConnectivityService extends IConnectivityManager.Stub {
|
||||
LinkProperties p = nt.getLinkProperties();
|
||||
if (p == null) return;
|
||||
Collection<InetAddress> dnses = p.getDnses();
|
||||
try {
|
||||
mNetd.setDnsServersForInterface(p.getInterfaceName(),
|
||||
NetworkUtils.makeStrings(dnses));
|
||||
} catch (Exception e) {
|
||||
Slog.e(TAG, "exception setting dns servers: " + e);
|
||||
}
|
||||
boolean changed = false;
|
||||
if (mNetConfigs[netType].isDefault()) {
|
||||
String network = nt.getNetworkInfo().getTypeName();
|
||||
|
||||
Reference in New Issue
Block a user