Merge "Also include the domain when parceling StaticIpConfiguration." automerge: c40bd27
automerge: 5b392ee * commit '5b392ee7584688d6929ca40760d0df2a12bd0b16': Also include the domain when parceling StaticIpConfiguration.
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