mirror of https://github.com/M66B/FairEmail.git
Always check for errors
This commit is contained in:
parent
8d94ac7df6
commit
b09ab7c2c5
|
@ -1184,7 +1184,7 @@ public class ServiceSynchronize extends LifecycleService {
|
||||||
// Keep alive
|
// Keep alive
|
||||||
AlarmManager am = getSystemService(AlarmManager.class);
|
AlarmManager am = getSystemService(AlarmManager.class);
|
||||||
try {
|
try {
|
||||||
while (state.alive()) {
|
while (state.running()) {
|
||||||
if (!istore.isConnected())
|
if (!istore.isConnected())
|
||||||
throw new StoreClosedException(istore);
|
throw new StoreClosedException(istore);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue