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

Commit 6ea73d54 authored by Yunke Zhou's avatar Yunke Zhou
Browse files

[Flexiglass] Fix the user switcher alignment on bouncer

Vertically align the user switcher in the center in
`BesideUserSwitcherLayout`.

Bug: 413302135
Test: Bring up the bouncer with flexiglass enabled in Android desktop,
observe that the user switcher is vertically aligned in the center.
Flag: com.android.systemui.scene_container

Change-Id: Ie19905a0a1c3432f7ba3dcc4b7e63117e544e2d2
parent 1de87436
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -497,7 +497,10 @@ private fun BesideUserSwitcherLayout(
                .motionTestValues { animatedAlpha(animatedOffset) exportAs MotionTestValues.alpha }
        }

        UserSwitcher(viewModel = viewModel, modifier = Modifier.weight(1f).swappable())
        UserSwitcher(
            viewModel = viewModel,
            modifier = Modifier.fillMaxHeight().weight(1f).swappable(),
        )

        FoldAware(
            modifier = Modifier.weight(1f).swappable(inversed = true).testTag("FoldAware"),