Slight optimization
Recycle unused bitmap
This commit is contained in:
parent
45f3f0d565
commit
17e78fdc5e
1 changed files with 3 additions and 1 deletions
|
|
@ -172,7 +172,9 @@ public class AlbumTagEditorActivity extends AbsTagEditorActivity implements Text
|
|||
.postProcessor(new BitmapProcessor() {
|
||||
@Override
|
||||
public Bitmap process(Bitmap bmp) {
|
||||
return Util.getAlbumArtScaledBitmap(bmp, true);
|
||||
Bitmap scaledBitmap = Util.getAlbumArtScaledBitmap(bmp, true);
|
||||
bmp.recycle();
|
||||
return scaledBitmap;
|
||||
}
|
||||
})
|
||||
.build();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue