Add per network static IP settings am: a416052905

Original change: undetermined

Change-Id: I76b897a0bc21a6e37772e4e38f0d638668a8a46d
This commit is contained in:
Irfan Sheriff
2021-05-31 10:47:13 +00:00
committed by Automerger Merge Worker

View File

@@ -37,6 +37,19 @@ public class DhcpInfo implements Parcelable {
super();
}
/** copy constructor {@hide} */
public DhcpInfo(DhcpInfo source) {
if (source != null) {
ipAddress = source.ipAddress;
gateway = source.gateway;
netmask = source.netmask;
dns1 = source.dns1;
dns2 = source.dns2;
serverAddress = source.serverAddress;
leaseDuration = source.leaseDuration;
}
}
public String toString() {
StringBuffer str = new StringBuffer();