From ba302258156e6f5054390fdca9c277273c349cb6 Mon Sep 17 00:00:00 2001 From: kunfei Date: Tue, 24 May 2022 22:25:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=9B=BE=E7=89=87=E5=8A=A0?= =?UTF-8?q?=E8=BD=BD=E9=94=99=E8=AF=AF=E6=97=B6=E5=8D=A1=E9=A1=BF=E7=9A=84?= =?UTF-8?q?bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../io/legado/app/ui/book/read/page/provider/ImageProvider.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/io/legado/app/ui/book/read/page/provider/ImageProvider.kt b/app/src/main/java/io/legado/app/ui/book/read/page/provider/ImageProvider.kt index 054bf6371..7ecfe83f5 100644 --- a/app/src/main/java/io/legado/app/ui/book/read/page/provider/ImageProvider.kt +++ b/app/src/main/java/io/legado/app/ui/book/read/page/provider/ImageProvider.kt @@ -46,6 +46,7 @@ object ImageProvider { oldBitmap: Bitmap, newBitmap: Bitmap? ) { + //错误图片不能释放,占位用,防止一直重复获取图片 if (oldBitmap != errorBitmap) { oldBitmap.recycle() putDebug("ImageProvider: trigger bitmap recycle. URI: $key")