Always check for errors

pull/146/head
M66B 6 years ago
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…
Cancel
Save