Minor
This commit is contained in:
parent
1564379bd1
commit
a3a0c7f41d
|
@ -83,6 +83,7 @@ class CachedDataSource(
|
|||
return upstreamDataSource.open(dataSpec)
|
||||
}
|
||||
|
||||
@Suppress("MagicNumber")
|
||||
override fun read(buffer: ByteArray, offset: Int, length: Int): Int {
|
||||
if (offset > 0 || length > 4)
|
||||
Timber.d("CachedDatasource: Read: %s %s", offset, length)
|
||||
|
|
|
@ -68,8 +68,7 @@ class Downloader(
|
|||
override fun run() {
|
||||
try {
|
||||
Timber.w("Checking Downloads")
|
||||
// FIXME
|
||||
// checkDownloadsInternal()
|
||||
checkDownloadsInternal()
|
||||
} catch (all: Exception) {
|
||||
Timber.e(all, "checkDownloads() failed.")
|
||||
} finally {
|
||||
|
|
Loading…
Reference in New Issue