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

Commit dca55bc7 authored by Xiaowen Lei's avatar Xiaowen Lei
Browse files

Constrain bc_smartspace_view width with ConstraintSet.MATCH_CONSTRAINT.

In the layout xml, bc_smartspace_view width is configured with
layout_width="match_parent", which doesn't work well with
ConstraintLayout. Looks like this is the root cause for b/362436624.

Flag: EXEMPT bugfix
Fix: 362436624
Test: On Tangor, create a calendar event with a very long title; try rotating lockscreen.
Change-Id: I24ef16b39f83bb48cbe813c6479bf80f402d5a15
parent 925d1a6f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -127,6 +127,7 @@ constructor(

            // migrate addSmartspaceView from KeyguardClockSwitchController
            constrainHeight(sharedR.id.bc_smartspace_view, ConstraintSet.WRAP_CONTENT)
            constrainWidth(sharedR.id.bc_smartspace_view, ConstraintSet.MATCH_CONSTRAINT)
            connect(
                sharedR.id.bc_smartspace_view,
                ConstraintSet.START,