mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-20 19:42:45 +00:00
Fix manually adding PCs
This commit is contained in:
parent
36664133f8
commit
31b0bcf041
@ -402,7 +402,12 @@ public class ComputerManagerService extends Service {
|
|||||||
public void run() {
|
public void run() {
|
||||||
boolean newPc = (details.name == null);
|
boolean newPc = (details.name == null);
|
||||||
|
|
||||||
if (stopped) {
|
// This is called from addComputerManually() where we don't
|
||||||
|
// want to block the initial poll if polling is disabled, so
|
||||||
|
// we explicitly let this through if we've never seen this
|
||||||
|
// PC before. This path won't be triggered normally when polling
|
||||||
|
// is disabled because the mDNS discovery is stopped.
|
||||||
|
if (stopped && !newPc) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user