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

Commit 71697738 authored by frank PREEL's avatar frank PREEL Committed by Alexandre Roux
Browse files

Syntax

parent dfaa01b8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5740,7 +5740,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
@@ -320,7 +320,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) {