From 85d95b2d8ed33d0b8e32b34cd272d58675a3529e Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Fri, 27 Feb 2015 13:52:17 -0500 Subject: [PATCH] Revert "Immediately show the PC as offline if the first poll fails" This reverts commit 7b12fd1ad2607566e8930adf3a2376e24c0fd9e1. --- .../java/com/limelight/computers/ComputerManagerService.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/main/java/com/limelight/computers/ComputerManagerService.java b/app/src/main/java/com/limelight/computers/ComputerManagerService.java index 26667028..d2621807 100644 --- a/app/src/main/java/com/limelight/computers/ComputerManagerService.java +++ b/app/src/main/java/com/limelight/computers/ComputerManagerService.java @@ -122,8 +122,7 @@ public class ComputerManagerService extends Service { @Override public void run() { - // Start with an immediate offline notification - int offlineCount = Integer.MAX_VALUE; + int offlineCount = 0; while (!isInterrupted() && pollingActive) { try { // Check if this poll has modified the details