We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c693969 + 01d96bd commit 6c03850Copy full SHA for 6c03850
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