Merge "Also include the domain when parceling StaticIpConfiguration." automerge: 998c8f7
automerge: 5b392ee * commit '5b392ee7584688d6929ca40760d0df2a12bd0b16': Also include the domain when parceling StaticIpConfiguration.
This commit is contained in:
commit
e142cde1b3
1 changed files with 2 additions and 0 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue