Rename localIp/remoteIp fields to localAddress/remoteAddress to prepare for DNS names

This commit is contained in:
Cameron Gutman
2017-09-09 12:47:23 -07:00
parent d4f8d8f689
commit 60cd951774
4 changed files with 28 additions and 29 deletions

View File

@@ -20,7 +20,7 @@ import java.net.UnknownHostException;
public class ServerHelper {
public static InetAddress getCurrentAddressFromComputer(ComputerDetails computer) {
return computer.reachability == ComputerDetails.Reachability.LOCAL ?
computer.localIp : computer.remoteIp;
computer.localAddress : computer.remoteAddress;
}
public static Intent createStartIntent(Activity parent, NvApp app, ComputerDetails computer,