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

Commit 748b449d authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "[flexiglass] Ensure notifications appear in split shade" into main

parents 37ca7ff0 5cd5846e
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,
                        )