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

Commit 0924f3bd authored by Yining Liu's avatar Yining Liu
Browse files

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
parent 5132a790
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -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")