We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent add333f commit c1192f2Copy full SHA for c1192f2
omegatypes/src/main/java/com/omega_r/libs/omegatypes/tools/StrippedBitmapExtractor.kt
@@ -56,7 +56,7 @@ suspend fun stripeBitmapExtractor(
56
(roughBitmap.height * values[4]).toInt(),
57
true
58
)
59
- if (autoRecycle && resizedBitmap == roughBitmap) {
+ if (autoRecycle && resizedBitmap != roughBitmap) {
60
roughBitmap.recycle()
61
}
62
return resizedBitmap
0 commit comments