diff options
| author | 2024-06-21 16:31:13 +0000 | |
|---|---|---|
| committer | 2024-06-21 16:38:07 +0000 | |
| commit | 92de36d383c5ce86d91c5cc8f70ca54005bcee85 (patch) | |
| tree | a8704b0f8927a9970f0ae2f05b0efe53f35027e6 | |
| parent | 24d2b4c12283870747901e65d8cb10544f0e03c3 (diff) | |
[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
| -rw-r--r-- | packages/SystemUI/compose/features/src/com/android/systemui/notifications/ui/composable/NotificationsShadeScene.kt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/SystemUI/compose/features/src/com/android/systemui/notifications/ui/composable/NotificationsShadeScene.kt b/packages/SystemUI/compose/features/src/com/android/systemui/notifications/ui/composable/NotificationsShadeScene.kt index 899b2569bb26..db98bc8fff9c 100644 --- a/packages/SystemUI/compose/features/src/com/android/systemui/notifications/ui/composable/NotificationsShadeScene.kt +++ b/packages/SystemUI/compose/features/src/com/android/systemui/notifications/ui/composable/NotificationsShadeScene.kt @@ -96,6 +96,12 @@ constructor( shadeMode = ShadeMode.Dual, modifier = Modifier.fillMaxWidth(), ) + + // Communicates the bottom position of the drawable area within the shade to NSSL. + NotificationStackCutoffGuideline( + stackScrollView = stackScrollView.get(), + viewModel = notificationsPlaceholderViewModel, + ) } } } |