Loading core/java/android/net/LinkProperties.java +3 −3 Original line number Original line Diff line number Diff line Loading @@ -80,9 +80,9 @@ public class LinkProperties implements Parcelable { public LinkProperties(LinkProperties source) { public LinkProperties(LinkProperties source) { if (source != null) { if (source != null) { mIfaceName = source.getInterfaceName(); mIfaceName = source.getInterfaceName(); mLinkAddresses = source.getLinkAddresses(); for (LinkAddress l : source.getLinkAddresses()) mLinkAddresses.add(l); mDnses = source.getDnses(); for (InetAddress i : source.getDnses()) mDnses.add(i); mRoutes = source.getRoutes(); for (RouteInfo r : source.getRoutes()) mRoutes.add(r); mHttpProxy = (source.getHttpProxy() == null) ? mHttpProxy = (source.getHttpProxy() == null) ? null : new ProxyProperties(source.getHttpProxy()); null : new ProxyProperties(source.getHttpProxy()); } } Loading Loading
core/java/android/net/LinkProperties.java +3 −3 Original line number Original line Diff line number Diff line Loading @@ -80,9 +80,9 @@ public class LinkProperties implements Parcelable { public LinkProperties(LinkProperties source) { public LinkProperties(LinkProperties source) { if (source != null) { if (source != null) { mIfaceName = source.getInterfaceName(); mIfaceName = source.getInterfaceName(); mLinkAddresses = source.getLinkAddresses(); for (LinkAddress l : source.getLinkAddresses()) mLinkAddresses.add(l); mDnses = source.getDnses(); for (InetAddress i : source.getDnses()) mDnses.add(i); mRoutes = source.getRoutes(); for (RouteInfo r : source.getRoutes()) mRoutes.add(r); mHttpProxy = (source.getHttpProxy() == null) ? mHttpProxy = (source.getHttpProxy() == null) ? null : new ProxyProperties(source.getHttpProxy()); null : new ProxyProperties(source.getHttpProxy()); } } Loading