This commit is contained in:
tzugen 2022-04-16 11:23:05 +02:00
parent 1564379bd1
commit a3a0c7f41d
No known key found for this signature in database
GPG Key ID: 61E9C34BC10EC930
2 changed files with 2 additions and 2 deletions

View File

@ -83,6 +83,7 @@ class CachedDataSource(
return upstreamDataSource.open(dataSpec) return upstreamDataSource.open(dataSpec)
} }
@Suppress("MagicNumber")
override fun read(buffer: ByteArray, offset: Int, length: Int): Int { override fun read(buffer: ByteArray, offset: Int, length: Int): Int {
if (offset > 0 || length > 4) if (offset > 0 || length > 4)
Timber.d("CachedDatasource: Read: %s %s", offset, length) Timber.d("CachedDatasource: Read: %s %s", offset, length)

View File

@ -68,8 +68,7 @@ class Downloader(
override fun run() { override fun run() {
try { try {
Timber.w("Checking Downloads") Timber.w("Checking Downloads")
// FIXME checkDownloadsInternal()
// checkDownloadsInternal()
} catch (all: Exception) { } catch (all: Exception) {
Timber.e(all, "checkDownloads() failed.") Timber.e(all, "checkDownloads() failed.")
} finally { } finally {