Reduced logging

This commit is contained in:
M66B 2021-06-20 18:20:48 +02:00
parent e7e89cad31
commit 0ce2759f62
1 changed files with 1 additions and 2 deletions

View File

@ -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;