Merge "Rename withIPv6AddrGenMode{Type}() methods to using{Type}MacAddress()"

This commit is contained in:
Treehugger Robot
2017-11-05 08:47:53 +00:00
committed by Gerrit Code Review
2 changed files with 2 additions and 12 deletions

View File

@@ -310,12 +310,12 @@ public class IpClient extends StateMachine {
return this; return this;
} }
public Builder withIPv6AddrGenModeEUI64() { public Builder withRandomMacAddress() {
mConfig.mIPv6AddrGenMode = INetd.IPV6_ADDR_GEN_MODE_EUI64; mConfig.mIPv6AddrGenMode = INetd.IPV6_ADDR_GEN_MODE_EUI64;
return this; return this;
} }
public Builder withIPv6AddrGenModeStablePrivacy() { public Builder withStableMacAddress() {
mConfig.mIPv6AddrGenMode = INetd.IPV6_ADDR_GEN_MODE_STABLE_PRIVACY; mConfig.mIPv6AddrGenMode = INetd.IPV6_ADDR_GEN_MODE_STABLE_PRIVACY;
return this; return this;
} }

View File

@@ -88,16 +88,6 @@ public class IpManager extends IpClient {
return this; return this;
} }
@Override @Override
public Builder withIPv6AddrGenModeEUI64() {
super.withIPv6AddrGenModeEUI64();
return this;
}
@Override
public Builder withIPv6AddrGenModeStablePrivacy() {
super.withIPv6AddrGenModeStablePrivacy();
return this;
}
@Override
public Builder withNetwork(Network network) { public Builder withNetwork(Network network) {
super.withNetwork(network); super.withNetwork(network);
return this; return this;