Merge "DO NOT MERGE Inflate NotificationPanel on instantiation" into rvc-qpr-dev
This commit is contained in:
@@ -166,6 +166,10 @@ public class NotificationPanelViewController extends OverlayPanelViewController
|
|||||||
mEnableHeadsUpNotificationWhenNotificationShadeOpen = mResources.getBoolean(
|
mEnableHeadsUpNotificationWhenNotificationShadeOpen = mResources.getBoolean(
|
||||||
com.android.car.notification.R.bool
|
com.android.car.notification.R.bool
|
||||||
.config_enableHeadsUpNotificationWhenNotificationShadeOpen);
|
.config_enableHeadsUpNotificationWhenNotificationShadeOpen);
|
||||||
|
|
||||||
|
// Inflate view on instantiation to properly initialize listeners even if panel has
|
||||||
|
// not been opened.
|
||||||
|
getOverlayViewGlobalStateController().inflateView(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
// CommandQueue.Callbacks
|
// CommandQueue.Callbacks
|
||||||
|
|||||||
Reference in New Issue
Block a user