Reduced logging

pull/199/head
M66B 4 years ago
parent e7e89cad31
commit 0ce2759f62

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

Loading…
Cancel
Save