image: remove dead code
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2023 Auxio Project
|
||||
* ExtractorModule.kt is part of Auxio.
|
||||
* CoilModule.kt is part of Auxio.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
||||
@@ -33,8 +33,6 @@ import javax.inject.Singleton
|
||||
interface StackModule {
|
||||
@Singleton @Binds fun appFiles(impl: AppFilesImpl): AppFiles
|
||||
|
||||
@Binds fun perceptualHash(perceptualHash: PerceptualHashImpl): PerceptualHash
|
||||
|
||||
@Binds fun coverCache(cache: CoverCacheImpl): CoverCache
|
||||
}
|
||||
|
||||
|
||||
@@ -72,12 +72,5 @@ constructor(private val storedCoversDao: StoredCoversDao, private val appFiles:
|
||||
|
||||
private companion object {
|
||||
const val COVER_KEY_SAMPLE = 32
|
||||
@Suppress("DEPRECATION")
|
||||
val COVER_CACHE_FORMAT =
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) {
|
||||
Bitmap.CompressFormat.WEBP_LOSSY
|
||||
} else {
|
||||
Bitmap.CompressFormat.WEBP
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user