Fixed two FCs. (1. bitmap recycled 2. ArrayList OOB)
This commit is contained in:
parent
bccf4fae5c
commit
fe3657707b
4 changed files with 16 additions and 10 deletions
|
|
@ -167,7 +167,8 @@ public class PlayingNotificationHelper {
|
|||
@Override
|
||||
public void onLoadingComplete(String imageUri, View view, Bitmap loadedImage) {
|
||||
if (currentAlbumArtUri.equals(imageUri))
|
||||
setAlbumArt(loadedImage);
|
||||
// copy() prevents the original bitmap in the memory cache from being recycled by the remote views
|
||||
setAlbumArt(loadedImage.copy(loadedImage.getConfig(), true));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue