mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-18 18:42:46 +00:00
Fix crash due to a null computer uuid
This commit is contained in:
parent
a4e134589d
commit
0f9cba1053
@ -457,8 +457,11 @@ public class ComputerManagerService extends Service {
|
|||||||
ComputerDetails newDetails = http.getComputerDetails();
|
ComputerDetails newDetails = http.getComputerDetails();
|
||||||
|
|
||||||
// Check if this is the PC we expected
|
// Check if this is the PC we expected
|
||||||
if (details.uuid != null && newDetails.uuid != null &&
|
if (newDetails.uuid == null) {
|
||||||
!details.uuid.equals(newDetails.uuid)) {
|
LimeLog.severe("Polling returned no UUID!");
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
else if (!details.uuid.equals(newDetails.uuid)) {
|
||||||
// We got the wrong PC!
|
// We got the wrong PC!
|
||||||
LimeLog.info("Polling returned the wrong PC!");
|
LimeLog.info("Polling returned the wrong PC!");
|
||||||
return null;
|
return null;
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 15bdc325f93db7d57d742f3a044da71d1536f47e
|
Subproject commit f42261cc925c32200da132c168a9f72b34fa367a
|
Loading…
x
Reference in New Issue
Block a user