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

Commit de4410e2 authored by Brad Hinegardner's avatar Brad Hinegardner
Browse files

Modify inflation of ambient indication area to handle merge layouts

Bug: 290652751
Change-Id: I4c28b26250103ec93ff48ac2268d4f71160d1ea6
parent 45c885a5
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -50,11 +50,8 @@ constructor(

    override fun addViews(constraintLayout: ConstraintLayout) {
        if (featureFlags.isEnabled(Flags.MIGRATE_SPLIT_KEYGUARD_BOTTOM_AREA)) {
            val view =
            LayoutInflater.from(constraintLayout.context)
                    .inflate(R.layout.ambient_indication, constraintLayout, false)

            constraintLayout.addView(view)
                .inflate(R.layout.ambient_indication, constraintLayout, true)
        }
    }