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

Commit 87e65f64 authored by Alex Stetson's avatar Alex Stetson Committed by Android (Google) Code Review
Browse files

Merge "DO NOT MERGE Inflate NotificationPanel on instantiation" into rvc-qpr-dev

parents 32c12205 04cdf3a7
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -166,6 +166,10 @@ public class NotificationPanelViewController extends OverlayPanelViewController
        mEnableHeadsUpNotificationWhenNotificationShadeOpen = mResources.getBoolean(
                com.android.car.notification.R.bool
                        .config_enableHeadsUpNotificationWhenNotificationShadeOpen);

        // Inflate view on instantiation to properly initialize listeners even if panel has
        // not been opened.
        getOverlayViewGlobalStateController().inflateView(this);
    }

    // CommandQueue.Callbacks