mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-10-11 01:47:00 +01:00
fix early recycling of thumbnail
// FREEBIE
This commit is contained in:
1 parent
18961e6369
commit
bade52d748
1 file changed
+1
-3
@@ -92,9 +92,7 @@ public class MediaUtil {
|
||||
}
|
||||
|
||||
public InputStream toDataStream() {
|
||||
InputStream jpegStream = BitmapUtil.toCompressedJpeg(bitmap);
|
||||
bitmap.recycle();
|
||||
return jpegStream;
|
||||
return BitmapUtil.toCompressedJpeg(bitmap);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user