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

Commit 97bd1aef authored by Robert Greenwalt's avatar Robert Greenwalt Committed by Android (Google) Code Review
Browse files

Merge "resolved conflicts for merge of af75fdb1 to master"

parents bbe9cb4f c59c6da9
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);