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(); long now = new Date().getTime();
synchronized (tasks) { synchronized (tasks) {
for (SimpleTask task : tasks) for (SimpleTask task : tasks)
if (!BuildConfig.PLAY_STORE_RELEASE || if (task.future != null && !task.future.isDone()) {
(task.future != null && !task.future.isDone())) {
long elapsed = now - task.started; long elapsed = now - task.started;
if (elapsed > CANCEL_AFTER && !task.interrupted) { if (elapsed > CANCEL_AFTER && !task.interrupted) {
task.interrupted = true; task.interrupted = true;

Loading…
Cancel
Save