mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-04-05 07:26:28 +00:00
Immediately show the PC as offline if the first poll fails
This commit is contained in:
@@ -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