kopia lustrzana https://github.com/ryukoposting/Signal-Android
Merge pull request #2346 from mcginty/thumbnail-early-recycle
fix early recycling of thumbnailfork-5.53.8
commit
778b8b490c
|
@ -92,9 +92,7 @@ public class MediaUtil {
|
|||
}
|
||||
|
||||
public InputStream toDataStream() {
|
||||
InputStream jpegStream = BitmapUtil.toCompressedJpeg(bitmap);
|
||||
bitmap.recycle();
|
||||
return jpegStream;
|
||||
return BitmapUtil.toCompressedJpeg(bitmap);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue