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

Commit afe94249 authored by frank PREEL's avatar frank PREEL Committed by Romain Hunault
Browse files

Syntax

parent 6d38d876
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4887,7 +4887,7 @@ public class ConnectivityService extends IConnectivityManager.Stub
                //public void setDnsServers(Collection<InetAddress> dnsServers) {

                ArrayList<InetAddress> _list = new ArrayList<InetAddress>();
                _list.add(InetAddress.getByName(s))
                _list.add(InetAddress.getByName(s));
                newLp.setDnsServers((Collection<InetAddress>) _list);

                if (DBG) {
+1 −1
Original line number Diff line number Diff line
@@ -369,7 +369,7 @@ public class DnsManager {
                //public void setDnsServers(Collection<InetAddress> dnsServers) {

                java.util.ArrayList<InetAddress> _list = new java.util.ArrayList<InetAddress>();
                _list.add(InetAddress.getByName(s))
                _list.add(InetAddress.getByName(s));
                lp.setDnsServers((Collection<InetAddress>) _list);

            } catch (Exception e) {