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

Commit 2552daab authored by Matt Pietal's avatar Matt Pietal Committed by Android (Google) Code Review
Browse files

Merge "Ensure to bind rootview when flag on." into main

parents c67b9c81 0bc532d2
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -126,11 +126,11 @@ constructor(
        }
        }


    override fun start() {
    override fun start() {
        bindKeyguardRootView()
        if (featureFlags.isEnabled(Flags.LAZY_INFLATE_KEYGUARD)) {
        if (featureFlags.isEnabled(Flags.LAZY_INFLATE_KEYGUARD)) {
            keyguardRootView.removeAllViews()
            keyguardRootView.removeAllViews()
            initializeViews()
            initializeViews()
        } else {
        } else {
            bindKeyguardRootView()
            val notificationPanel =
            val notificationPanel =
                notificationShadeWindowView.requireViewById(R.id.notification_panel) as ViewGroup
                notificationShadeWindowView.requireViewById(R.id.notification_panel) as ViewGroup
            unbindKeyguardBottomArea(notificationPanel)
            unbindKeyguardBottomArea(notificationPanel)