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

Commit 9afac5aa authored by Lucas Dupin's avatar Lucas Dupin
Browse files

Destroy blur renderscript

Fixes: 123876428
Test: play media stream, stop media stream
Change-Id: Ifdba77ab4e33f3133e58104a88bb0cdfe007ed90
parent 93d196b3
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -67,6 +67,7 @@ class MediaArtworkProcessor @Inject constructor() {
        input.destroy()
        output.destroy()
        inBitmap.recycle()
        blur.destroy()

        val canvas = Canvas(outBitmap)
        canvas.drawColor(ColorUtils.setAlphaComponent(color, COLOR_ALPHA))