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

Commit 8d58b8ac authored by Julia Tuttle's avatar Julia Tuttle
Browse files

Remove PromotedNotificationUiAod flag dep

It's not a *hard* dependency -- AOD promoted notifications won't *crash*
just because the promoted notification UI flag is turned off -- so let's
not bother people with errors about it.

Fixes: 397889922
Test: manual
Flag: com.android.systemui.aod_ui_rich_ongoing
Change-Id: I5cc26b63c3da1c798c31cfa561a0e271d8089a3a
parent aa76f42b
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -29,8 +29,6 @@ import com.android.systemui.scene.shared.flag.SceneContainerFlag
import com.android.systemui.statusbar.notification.collection.SortBySectionTimeFlag
import com.android.systemui.statusbar.notification.emptyshade.shared.ModesEmptyShadeFix
import com.android.systemui.statusbar.notification.interruption.VisualInterruptionRefactor
import com.android.systemui.statusbar.notification.promoted.PromotedNotificationUi
import com.android.systemui.statusbar.notification.promoted.PromotedNotificationUiAod
import com.android.systemui.statusbar.notification.shared.NotificationAvalancheSuppression
import com.android.systemui.statusbar.notification.shared.NotificationMinimalism
import com.android.systemui.statusbar.notification.shared.NotificationThrottleHun
@@ -52,8 +50,6 @@ class FlagDependencies @Inject constructor(featureFlags: FeatureFlagsClassic, ha
        NotificationMinimalism.token dependsOn NotificationThrottleHun.token
        ModesEmptyShadeFix.token dependsOn modesUi

        PromotedNotificationUiAod.token dependsOn PromotedNotificationUi.token

        // SceneContainer dependencies
        SceneContainerFlag.getFlagDependencies().forEach { (alpha, beta) -> alpha dependsOn beta }
    }