Fix favorites sync and backup/restore crashing on older devices

This commit is contained in:
NerdNumber9
2019-04-20 14:01:18 -04:00
parent b06f253f83
commit 895191814e
3 changed files with 15 additions and 4 deletions

View File

@@ -249,6 +249,7 @@ class EHentaiUpdateWorker: JobService(), CoroutineScope {
}
}
@RequiresApi(Build.VERSION_CODES.LOLLIPOP)
companion object {
private const val MAX_UPDATE_FAILURES = 5