Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6c038506 authored by Jean-Michel Trivi's avatar Jean-Michel Trivi Committed by Android (Google) Code Review
Browse files

Merge "Fix bug 5300223 Lockscreen should recycle bitmaps" into ics-factoryrom

parents c6939697 01d96bd2
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -102,6 +102,9 @@ public class TransportControlView extends FrameLayout implements OnClickListener

            case MSG_SET_ARTWORK:
                if (mClientGeneration == msg.arg1) {
                    if (mMetadata.bitmap != null) {
                        mMetadata.bitmap.recycle();
                    }
                    mMetadata.bitmap = (Bitmap) msg.obj;
                    mAlbumArt.setImageBitmap(mMetadata.bitmap);
                }