Add flag for async HybridNotificationView inflation

Add a flag gating the async HybridNotificationView inflation. When the flag ASYNC_GROUP_HEADER_INFLATION is disabled, all HybridNotificationViews are inflated on the main thread the same way it works on <= Android 13.
Bug: 288326013
Bug: 217799515
Test: built and pushed to device locally

Change-Id: I88e3e5f51b6f2119755cbcfba559ed92b0c18b73
This commit is contained in:
Yining Liu
2023-06-21 23:32:23 +00:00
parent 5132a79087
commit 0924f3bd3a

View File

@@ -91,6 +91,15 @@ object Flags {
val NOTIFICATION_SHELF_REFACTOR =
unreleasedFlag(271161129, "notification_shelf_refactor")
// TODO(b/288326013): Tracking Bug
@JvmField
val NOTIFICATION_ASYNC_HYBRID_VIEW_INFLATION =
unreleasedFlag(
288326013,
"notification_async_hybrid_view_inflation",
teamfood = false
)
@JvmField
val ANIMATED_NOTIFICATION_SHADE_INSETS =
releasedFlag(270682168, "animated_notification_shade_insets")