Also include the domain when parceling StaticIpConfiguration.
StaticIpConfiguration objects are parceled at least as part of the IpConfiguration objects that are passed to IEthernetManager when an application sets static IP configuration on Ethernet. Change-Id: I49991e2f591cc6cf01b503c18eb343b5929efe29
This commit is contained in:
@@ -188,6 +188,7 @@ public class StaticIpConfiguration implements Parcelable {
|
||||
for (InetAddress dnsServer : dnsServers) {
|
||||
NetworkUtils.parcelInetAddress(dest, dnsServer, flags);
|
||||
}
|
||||
dest.writeString(domains);
|
||||
}
|
||||
|
||||
protected static void readFromParcel(StaticIpConfiguration s, Parcel in) {
|
||||
@@ -198,5 +199,6 @@ public class StaticIpConfiguration implements Parcelable {
|
||||
for (int i = 0; i < size; i++) {
|
||||
s.dnsServers.add(NetworkUtils.unparcelInetAddress(in));
|
||||
}
|
||||
s.domains = in.readString();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user