mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 13:08:46 +00:00
fix early recycling of thumbnail
// FREEBIE
This commit is contained in:
@@ -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