Loading packages/SystemUI/aconfig/systemui.aconfig +0 −8 Original line number Original line Diff line number Diff line Loading @@ -25,14 +25,6 @@ flag { } } } } flag { name: "notification_heads_up_cycling" namespace: "systemui" description: "Heads-up notification cycling animation for the Notification Avalanche feature." bug: "316404716" } flag { flag { name: "priority_people_section" name: "priority_people_section" namespace: "systemui" namespace: "systemui" Loading packages/SystemUI/src/com/android/systemui/statusbar/notification/shared/NotificationHeadsUpCycling.kt +3 −3 Original line number Original line Diff line number Diff line Loading @@ -23,8 +23,8 @@ import com.android.systemui.flags.RefactorFlagUtils /** Helper for reading or using the heads-up cycling flag state. */ /** Helper for reading or using the heads-up cycling flag state. */ @Suppress("NOTHING_TO_INLINE") @Suppress("NOTHING_TO_INLINE") object NotificationHeadsUpCycling { object NotificationHeadsUpCycling { /** The aconfig flag name */ /** The aconfig flag name - enable this feature when FLAG_NOTIFICATION_THROTTLE_HUN is on. */ const val FLAG_NAME = Flags.FLAG_NOTIFICATION_HEADS_UP_CYCLING const val FLAG_NAME = Flags.FLAG_NOTIFICATION_THROTTLE_HUN /** A token used for dependency declaration */ /** A token used for dependency declaration */ val token: FlagToken val token: FlagToken Loading @@ -33,7 +33,7 @@ object NotificationHeadsUpCycling { /** Is the heads-up cycling animation enabled */ /** Is the heads-up cycling animation enabled */ @JvmStatic @JvmStatic inline val isEnabled inline val isEnabled get() = Flags.notificationHeadsUpCycling() get() = Flags.notificationThrottleHun() /** Whether to animate the bottom line when transiting from a tall HUN to a short HUN */ /** Whether to animate the bottom line when transiting from a tall HUN to a short HUN */ @JvmStatic @JvmStatic Loading Loading
packages/SystemUI/aconfig/systemui.aconfig +0 −8 Original line number Original line Diff line number Diff line Loading @@ -25,14 +25,6 @@ flag { } } } } flag { name: "notification_heads_up_cycling" namespace: "systemui" description: "Heads-up notification cycling animation for the Notification Avalanche feature." bug: "316404716" } flag { flag { name: "priority_people_section" name: "priority_people_section" namespace: "systemui" namespace: "systemui" Loading
packages/SystemUI/src/com/android/systemui/statusbar/notification/shared/NotificationHeadsUpCycling.kt +3 −3 Original line number Original line Diff line number Diff line Loading @@ -23,8 +23,8 @@ import com.android.systemui.flags.RefactorFlagUtils /** Helper for reading or using the heads-up cycling flag state. */ /** Helper for reading or using the heads-up cycling flag state. */ @Suppress("NOTHING_TO_INLINE") @Suppress("NOTHING_TO_INLINE") object NotificationHeadsUpCycling { object NotificationHeadsUpCycling { /** The aconfig flag name */ /** The aconfig flag name - enable this feature when FLAG_NOTIFICATION_THROTTLE_HUN is on. */ const val FLAG_NAME = Flags.FLAG_NOTIFICATION_HEADS_UP_CYCLING const val FLAG_NAME = Flags.FLAG_NOTIFICATION_THROTTLE_HUN /** A token used for dependency declaration */ /** A token used for dependency declaration */ val token: FlagToken val token: FlagToken Loading @@ -33,7 +33,7 @@ object NotificationHeadsUpCycling { /** Is the heads-up cycling animation enabled */ /** Is the heads-up cycling animation enabled */ @JvmStatic @JvmStatic inline val isEnabled inline val isEnabled get() = Flags.notificationHeadsUpCycling() get() = Flags.notificationThrottleHun() /** Whether to animate the bottom line when transiting from a tall HUN to a short HUN */ /** Whether to animate the bottom line when transiting from a tall HUN to a short HUN */ @JvmStatic @JvmStatic Loading