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

Commit fe8022f2 authored by Evan Severson's avatar Evan Severson Committed by Android (Google) Code Review
Browse files

Merge "Fix fgs_footer layout params"

parents 761e58ee b91b008e
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -16,9 +16,8 @@
-->
<FrameLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="0dp"
    android:layout_width="match_parent"
    android:layout_height="@dimen/qs_security_footer_single_line_height"
    android:layout_weight="1"
    android:gravity="center"
    android:clickable="true"
    android:visibility="gone">
+4 −0
Original line number Diff line number Diff line
@@ -191,6 +191,10 @@ internal class FooterActionsController @Inject constructor(
            reformatForNewFooter(securityFooter)
            val fgsFooter = fgsManagerFooterController.view
            securityFootersContainer?.addView(fgsFooter)
            (fgsFooter.layoutParams as LinearLayout.LayoutParams).apply {
                width = 0
                weight = 1f
            }

            val visibilityListener =
                VisibilityChangedDispatcher.OnVisibilityChangedListener { visibility ->