We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f15316 commit 01d96bdCopy full SHA for 01d96bd
1 file changed
core/java/com/android/internal/widget/TransportControlView.java
@@ -102,6 +102,9 @@ public void handleMessage(Message msg) {
102
103
case MSG_SET_ARTWORK:
104
if (mClientGeneration == msg.arg1) {
105
+ if (mMetadata.bitmap != null) {
106
+ mMetadata.bitmap.recycle();
107
+ }
108
mMetadata.bitmap = (Bitmap) msg.obj;
109
mAlbumArt.setImageBitmap(mMetadata.bitmap);
110
}
0 commit comments