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

Commit 372f727f authored by Ibrahim Yilmaz's avatar Ibrahim Yilmaz Committed by Android (Google) Code Review
Browse files

Merge "[RONs-AOD] Use Notification Panel margins" into main

parents 05dafbb4 573ff5f0
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -88,7 +88,6 @@ constructor(

        val topPadding =
            context.resources.getDimensionPixelSize(R.dimen.below_clock_padding_start_icons)

        constraintSet.apply {
            val isShadeLayoutWide = shadeModeInteractor.isShadeLayoutWide.value

@@ -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!)