Skip to content

Commit

Permalink
more minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
edeso committed Dec 10, 2023
1 parent 6224d14 commit 2f14b8c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ public static Bitmap getCover(Uri comicUri) throws IOException {

File coverFile = Utils.getCoverCacheFile(comicUri.getPath(), "jpg");

// reuse saved cover cache file
if (coverFile.isFile()) {
BitmapFactory.Options options = new BitmapFactory.Options();
// Bitmap.Config.HARDWARE uses less memory
Expand All @@ -51,7 +52,6 @@ public static Bitmap getCover(Uri comicUri) throws IOException {
return bitmap;
}


Parser parser = null;
BufferedInputStream bis = null;
FileOutputStream outputStream = null;
Expand Down

0 comments on commit 2f14b8c

Please sign in to comment.