mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-31 01:51:24 +01:00
Reduced logging
This commit is contained in:
@@ -280,8 +280,7 @@ public abstract class SimpleTask<T> implements LifecycleObserver {
|
||||
long now = new Date().getTime();
|
||||
synchronized (tasks) {
|
||||
for (SimpleTask task : tasks)
|
||||
if (!BuildConfig.PLAY_STORE_RELEASE ||
|
||||
(task.future != null && !task.future.isDone())) {
|
||||
if (task.future != null && !task.future.isDone()) {
|
||||
long elapsed = now - task.started;
|
||||
if (elapsed > CANCEL_AFTER && !task.interrupted) {
|
||||
task.interrupted = true;
|
||||
|
||||
Reference in New Issue
Block a user