Keep cleanup

This commit is contained in:
M66B
2019-08-03 15:36:51 +02:00
parent 07d0b30816
commit 952d93bf17
4 changed files with 29 additions and 29 deletions

View File

@@ -106,14 +106,8 @@ public class ApplicationEx extends Application {
MessageHelper.setSystemProperties(this);
ContactInfo.init(this);
try {
WorkerWatchdog.init(this);
} catch (Throwable ex) {
// Incorrect:
// java.lang.RuntimeException: Unable to create application eu.faircode.email.ApplicationEx:
// java.lang.IllegalStateException: WorkManager is not initialized properly.
Log.e(ex);
}
WorkerWatchdog.init(this);
WorkerCleanup.queue(this);
}
@Override