Fix comments within CoverCache class. ()

This commit is contained in:
Kilian Köppchen 2020-03-01 16:54:38 +01:00 committed by GitHub
parent 690bb889ab
commit afa4ab463c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -100,7 +100,7 @@ public class CoverCache {
/**
* Returns a (possibly uncached) cover for the song - will return null if the song has no cover
*
* @param key The cache key to use for storing a generated cover
* @param ctx The context to retrieve the bitmap from cache via external content uri
* @param song The song used to identify the artwork to load
* @return a bitmap or null if no artwork was found
*/
@ -330,7 +330,7 @@ public class CoverCache {
* Stores a bitmap in the disk cache, does not update existing objects
*
* @param key The cover key to use
* @param Bitmap The bitmap to store
* @param cover The cover to store as bitmap
*/
public void put(CoverKey key, Bitmap cover) {
SQLiteDatabase dbh = getWritableDatabase();
@ -390,6 +390,7 @@ public class CoverCache {
* Attempts to create a new bitmap object for given song.
* Returns null if no cover art was found
*
* @param ctx The context to read the external content uri of the given song
* @param song the function will search for artwork of this object
* @param maxPxCount the maximum amount of pixels to return (30*30 = 900)
*/