mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-20 11:33:06 +00:00
Immediately show the PC as offline if the first poll fails
This commit is contained in:
parent
80d8c5953e
commit
7b12fd1ad2
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user