mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-19 19:13:03 +00:00
Handle missing or empty PC name
This commit is contained in:
parent
756ceaff1a
commit
4b9ee92434
@ -208,6 +208,10 @@ public class NvHTTP {
|
||||
String serverInfo = getServerInfo();
|
||||
|
||||
details.name = getXmlString(serverInfo, "hostname");
|
||||
if (details.name == null || details.name.isEmpty()) {
|
||||
details.name = "UNKNOWN";
|
||||
}
|
||||
|
||||
details.uuid = UUID.fromString(getXmlString(serverInfo, "uniqueid"));
|
||||
details.macAddress = getXmlString(serverInfo, "mac");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user