Added logging

pull/205/head
M66B 3 years ago
parent 217b5df311
commit 2111ae62a1

@ -5343,8 +5343,8 @@ class Core {
synchronized (this) { synchronized (this) {
FolderPriority key = new FolderPriority(folder, priority); FolderPriority key = new FolderPriority(folder, priority);
boolean can = batch.get(key).equals(current); boolean can = batch.get(key).equals(current);
if (BuildConfig.DEBUG) if (!can || BuildConfig.DEBUG)
Log.i("=== Can " + folder + ":" + priority + " can=" + can); Log.i("=== Can " + folder + ":" + priority + " batch=" + batch.get(key) + " current=" + current + " can=" + can);
return can; return can;
} }
} }
@ -5364,7 +5364,8 @@ class Core {
public String toString() { public String toString() {
return "[running=" + running + return "[running=" + running +
",recoverable=" + recoverable + ",recoverable=" + recoverable +
",idle=" + getIdleTime() + "]"; ",idle=" + getIdleTime() + "" +
",process=" + process + "]";
} }
private static class FolderPriority { private static class FolderPriority {

Loading…
Cancel
Save