diff options
| author | 2024-05-30 15:07:49 +0000 | |
|---|---|---|
| committer | 2024-05-30 15:07:49 +0000 | |
| commit | f532e6e39d5eb50a08d38d2088b3fece693af674 (patch) | |
| tree | 4b042dfbbb5728d9e139f2ac921dee61da4b425a | |
| parent | be4912b86ea58c806f175791374fe7a502a79a1c (diff) | |
[bc25] Fix clipped notifications in the shade, and align to the right.
Test: Manually tested by opening the notifications shade.
Test: Unit tests build and pass.
Bug: 338009491
Flag: com.android.systemui.dual_shade
Change-Id: I83a05e9b549939bab0ebd073e7d4c62da1381464
| -rw-r--r-- | packages/SystemUI/compose/features/src/com/android/systemui/notifications/ui/composable/NotificationsShadeScene.kt | 6 |
1 files changed, 3 insertions, 3 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 ae53d56e331a..7ca68fb40b61 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 @@ -18,8 +18,8 @@ package com.android.systemui.notifications.ui.composable import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column +import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.padding -import androidx.compose.foundation.layout.width import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier import androidx.compose.ui.unit.dp @@ -75,7 +75,7 @@ constructor( OverlayShade( modifier = modifier, viewModel = overlayShadeViewModel, - horizontalArrangement = Arrangement.Start, + horizontalArrangement = Arrangement.End, lockscreenContent = lockscreenContent, ) { Column { @@ -95,7 +95,7 @@ constructor( shouldPunchHoleBehindScrim = false, shouldFillMaxSize = false, shadeMode = ShadeMode.Dual, - modifier = Modifier.width(416.dp), + modifier = Modifier.fillMaxWidth(), ) } } |