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

Commit ff6f9551 authored by Mike Schneider's avatar Mike Schneider
Browse files

Fix disappearance of the QS overlay contents

The issue was caused by a wrong use of `layer.record()`, since this does
not track the reads

Test: Manual
Flag: com.android.systemui.scene_container
Bug: 409621970
Change-Id: I95e37d6d20acae4f6de4264ce04b7dc87be4353f
parent c7caa5a9
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -72,11 +72,10 @@ internal fun Modifier.verticalFloatingExpandContainerBackground(
            obtainGraphicsLayer().apply {
                clip = true
                setRoundRectOutline(shapeTopLeft, shapeSize, cornerRadius = currentRadiusPx)

                record { drawContent() }
            }

        onDrawWithContent {
            layer.record { this@onDrawWithContent.drawContent() }
            drawRoundRect(
                color = backgroundColor,
                topLeft = shapeTopLeft,