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

Commit 5cd5846e authored by Jeff DeCew's avatar Jeff DeCew
Browse files

[flexiglass] Ensure notifications appear in split shade

Bug: 329664815
Test: atest SystemUITests
Flag: ACONFIG com.android.systemui.scene_container DEVELOPMENT
Change-Id: I7d6247cc4d79223fdd89b90c6d03538e3794a959
parent 3e3c4e84
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -48,11 +48,13 @@ object NotificationStackAppearanceViewBinder {
            repeatOnLifecycle(Lifecycle.State.CREATED) {
                launch {
                    viewModel.stackBounds.collect { bounds ->
                        val viewLeft = controller.view.left
                        val viewTop = controller.view.top
                        controller.setRoundedClippingBounds(
                            bounds.left.roundToInt(),
                            bounds.top.roundToInt(),
                            bounds.right.roundToInt(),
                            bounds.bottom.roundToInt(),
                            bounds.left.roundToInt() - viewLeft,
                            bounds.top.roundToInt() - viewTop,
                            bounds.right.roundToInt() - viewLeft,
                            bounds.bottom.roundToInt() - viewTop,
                            SCRIM_CORNER_RADIUS.dpToPx(context),
                            0,
                        )