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

Commit 30417ef5 authored by Anton Potapov's avatar Anton Potapov Committed by Pranav Vashi
Browse files

Add missing margin to landscape collapsed constraint set

Flag: EXEMPT BUG_FIX
Fixes: 434364540
Test: manual on foldable
Test: atest VolumeDialogScreenshotTest
Change-Id: I227a4afc30643dbb6c54c498eb3dbe47dde3a488
parent cbe1c1e8
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -208,6 +208,13 @@ private fun ConstraintSet.adjustClosedConstraintsForDrawer(
                                R.dimen.volume_dialog_ringer_drawer_button_size
                            ),
                        )
                        setMargin(
                            view.id,
                            ConstraintSet.END,
                            motionLayout.context.resources.getDimensionPixelSize(
                                R.dimen.volume_dialog_background_margin
                            ),
                        )
                    }
                    constrainHeight(
                        view.id,