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