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

Commit db30d70c authored by Alex Stetson's avatar Alex Stetson Committed by Automerger Merge Worker
Browse files

DO NOT MERGE Inflate NotificationPanel on instantiation am: 04cdf3a7

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13902205

Change-Id: I43d82e9241cb0aa3140f74e28edace2217f410fc
parents a6a1843a 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