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

Commit 92de36d3 authored by burakov's avatar burakov
Browse files

[bc25] Fix notifications not being rendered on Dual Shade.

The bug was caused due to a recent change in NSSL that
requires positioning a `NotificationStackCutoffGuideline`
composable which communicates the bottom rendering boundary
to the NSSL.

Bug: 340553529
Bug: 348641274
Test: Manually verified on a device by opening and closing the
notifications dual shade.
Test: Existing unit tests still pass.
Flag: com.android.systemui.dual_shade

Change-Id: I03cc302c2f89f14e6a8724f49cfb93fb4eab3b16
parent 24d2b4c1
Loading
Loading
Loading
Loading
+6 −0
Original line number Original line Diff line number Diff line
@@ -96,6 +96,12 @@ constructor(
                    shadeMode = ShadeMode.Dual,
                    shadeMode = ShadeMode.Dual,
                    modifier = Modifier.fillMaxWidth(),
                    modifier = Modifier.fillMaxWidth(),
                )
                )

                // Communicates the bottom position of the drawable area within the shade to NSSL.
                NotificationStackCutoffGuideline(
                    stackScrollView = stackScrollView.get(),
                    viewModel = notificationsPlaceholderViewModel,
                )
            }
            }
        }
        }
    }
    }