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