mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-20 11:33:06 +00:00
Don't use the devicename parameter when pairing anymore. It's not using since GFE 2.0.0 and it can cause problems if invalid characters get added to the URL
This commit is contained in:
parent
e593c04001
commit
f537588228
@ -100,8 +100,7 @@ public class NvHTTP {
|
||||
}
|
||||
|
||||
public int getSessionId() throws IOException, XmlPullParserException {
|
||||
InputStream in = openHttpConnection(baseUrl + "/pair?uniqueid=" + uniqueId
|
||||
+ "&devicename=" + deviceName);
|
||||
InputStream in = openHttpConnection(baseUrl + "/pair?uniqueid=" + uniqueId);
|
||||
String sessionId = getXmlString(in, "sessionid");
|
||||
return Integer.parseInt(sessionId);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user