mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-10-25 21:40:11 +00:00
Revert "Immediately show the PC as offline if the first poll fails"
This reverts commit 7b12fd1ad2.
This commit is contained in:
1 parent
d091d9db6b
commit
85d95b2d8e
1 file changed
+1
-2
@@ -122,8 +122,7 @@ public class ComputerManagerService extends Service {
|
|||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
|
|
||||||
// Start with an immediate offline notification
|
int offlineCount = 0;
|
||||||
int offlineCount = Integer.MAX_VALUE;
|
|
||||||
while (!isInterrupted() && pollingActive) {
|
while (!isInterrupted() && pollingActive) {
|
||||||
try {
|
try {
|
||||||
// Check if this poll has modified the details
|
// Check if this poll has modified the details
|
||||||
|
|||||||
Reference in new issue
Block a user