mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-31 01:51:24 +01:00
Keep cleanup
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user