mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 14:17:03 +02:00
Always check for errors
This commit is contained in:
@@ -1184,7 +1184,7 @@ public class ServiceSynchronize extends LifecycleService {
|
||||
// Keep alive
|
||||
AlarmManager am = getSystemService(AlarmManager.class);
|
||||
try {
|
||||
while (state.alive()) {
|
||||
while (state.running()) {
|
||||
if (!istore.isConnected())
|
||||
throw new StoreClosedException(istore);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user