mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-06-19 15:21:04 +00:00
Remove the deviceName field to fix a warning
This commit is contained in:
@@ -17,7 +17,6 @@ import org.xmlpull.v1.XmlPullParserFactory;
|
|||||||
|
|
||||||
public class NvHTTP {
|
public class NvHTTP {
|
||||||
private String uniqueId;
|
private String uniqueId;
|
||||||
private String deviceName;
|
|
||||||
|
|
||||||
public static final int PORT = 47989;
|
public static final int PORT = 47989;
|
||||||
public static final int CONNECTION_TIMEOUT = 5000;
|
public static final int CONNECTION_TIMEOUT = 5000;
|
||||||
@@ -26,7 +25,6 @@ public class NvHTTP {
|
|||||||
|
|
||||||
public NvHTTP(InetAddress host, String uniqueId, String deviceName) {
|
public NvHTTP(InetAddress host, String uniqueId, String deviceName) {
|
||||||
this.uniqueId = uniqueId;
|
this.uniqueId = uniqueId;
|
||||||
this.deviceName = deviceName;
|
|
||||||
|
|
||||||
String safeAddress;
|
String safeAddress;
|
||||||
if (host instanceof Inet6Address) {
|
if (host instanceof Inet6Address) {
|
||||||
|
|||||||
Reference in New Issue
Block a user