Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c59c6da9 authored by Robert Greenwalt's avatar Robert Greenwalt
Browse files

resolved conflicts for merge of af75fdb1 to master

Change-Id: Ib7f3521b0af6df9346cf940d69f2988b1c87e129
parents 804b3d76 af75fdb1
Loading
Loading
Loading
Loading
+1 −7
Original line number Diff line number Diff line
@@ -1985,12 +1985,6 @@ 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();
@@ -2001,7 +1995,7 @@ public class ConnectivityService extends IConnectivityManager.Stub {
                }
            } else {
                try {
                    mNetd.setDnsServersForInterface(Integer.toString(netType),
                    mNetd.setDnsServersForInterface(p.getInterfaceName(),
                            NetworkUtils.makeStrings(dnses));
                } catch (Exception e) {
                    Slog.e(TAG, "exception setting dns servers: " + e);