mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-10-20 23:36:53 +00:00
Only add PCs to the computer list when they have been polled once to get a UUID for equality comparison. Fix equality comparison in PcView to avoid duplicate PCs enumerated over mDNS.
This commit is contained in:
1 parent
55c800c2a5
commit
10204afdb4
2 files changed
+9
-31
No files matched your search
@@ -530,7 +530,7 @@ public class PcView extends Activity implements AdapterFragmentCallbacks {
|
||||
ComputerObject computer = (ComputerObject) pcGridAdapter.getItem(i);
|
||||
|
||||
// Check if this is the same computer
|
||||
if (details.equals(computer.details)) {
|
||||
if (details.uuid.equals(computer.details.uuid)) {
|
||||
existingEntry = computer;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user