Loading packages/SystemUI/src/com/android/systemui/keyguard/ui/view/layout/sections/AodPromotedNotificationSection.kt +5 −2 Original line number Diff line number Diff line Loading @@ -88,7 +88,6 @@ constructor( val topPadding = context.resources.getDimensionPixelSize(R.dimen.below_clock_padding_start_icons) constraintSet.apply { val isShadeLayoutWide = shadeModeInteractor.isShadeLayoutWide.value Loading @@ -97,8 +96,12 @@ constructor( connect(viewId, TOP, R.id.smart_space_barrier_top, TOP, 0) // and occupy the right half of the screen: val marginEnd = context.resources.getDimensionPixelSize( R.dimen.notification_panel_margin_horizontal ) connect(viewId, START, R.id.split_shade_guideline, START, 0) connect(viewId, END, PARENT_ID, END, 0) connect(viewId, END, PARENT_ID, END, marginEnd) // TODO(b/369151941): Calculate proper right padding here (when in split shade, it's // bigger than what the Composable applies!) Loading Loading
packages/SystemUI/src/com/android/systemui/keyguard/ui/view/layout/sections/AodPromotedNotificationSection.kt +5 −2 Original line number Diff line number Diff line Loading @@ -88,7 +88,6 @@ constructor( val topPadding = context.resources.getDimensionPixelSize(R.dimen.below_clock_padding_start_icons) constraintSet.apply { val isShadeLayoutWide = shadeModeInteractor.isShadeLayoutWide.value Loading @@ -97,8 +96,12 @@ constructor( connect(viewId, TOP, R.id.smart_space_barrier_top, TOP, 0) // and occupy the right half of the screen: val marginEnd = context.resources.getDimensionPixelSize( R.dimen.notification_panel_margin_horizontal ) connect(viewId, START, R.id.split_shade_guideline, START, 0) connect(viewId, END, PARENT_ID, END, 0) connect(viewId, END, PARENT_ID, END, marginEnd) // TODO(b/369151941): Calculate proper right padding here (when in split shade, it's // bigger than what the Composable applies!) Loading