Auto-Retry

Bug fix
This commit is contained in:
tom5079
2020-06-22 09:48:04 +09:00
parent 57faada201
commit 090ec0e4af
9 changed files with 46 additions and 117 deletions

View File

@@ -99,7 +99,7 @@ class ExampleInstrumentedTest {
while(worker.progress.indexOfKey(galleryID) < 0 || worker.progress[galleryID] != null) {
Log.i("PUPILD", worker.progress[galleryID]?.joinToString(" ") ?: "null")
if (worker.progress[galleryID]?.all { !it.isFinite() } == true)
if (worker.progress[galleryID]?.all { it.isInfinite() } == true)
break
}