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

Commit bf2ab13a authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fixed the tests for the physical notification movement" into main

parents a6972a26 69ad55f3
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -219,7 +219,6 @@ class StackStateAnimatorTest : SysuiTestCase() {
            )
    }

    @DisableFlags(Flags.FLAG_PHYSICAL_NOTIFICATION_MOVEMENT)
    @Test
    @EnableFlags(NotificationsHunSharedAnimationValues.FLAG_NAME)
    fun startAnimationForEvents_headsUpFromBottom_startsHeadsUpAppearAnim_flagOn() {
@@ -246,7 +245,7 @@ class StackStateAnimatorTest : SysuiTestCase() {
    }

    @Test
    @DisableFlags(NotificationsHunSharedAnimationValues.FLAG_NAME)
    @DisableFlags(NotificationsHunSharedAnimationValues.FLAG_NAME, Flags.FLAG_PHYSICAL_NOTIFICATION_MOVEMENT)
    fun startAnimationForEvents_startsHeadsUpDisappearAnim_flagOff() {
        val disappearDuration = ANIMATION_DURATION_HEADS_UP_DISAPPEAR.toLong()
        val event = AnimationEvent(view, AnimationEvent.ANIMATION_TYPE_HEADS_UP_DISAPPEAR)
@@ -277,6 +276,7 @@ class StackStateAnimatorTest : SysuiTestCase() {

    @Test
    @EnableFlags(NotificationsHunSharedAnimationValues.FLAG_NAME)
    @DisableFlags(Flags.FLAG_PHYSICAL_NOTIFICATION_MOVEMENT)
    fun startAnimationForEvents_startsHeadsUpDisappearAnim_flagOn() {
        val disappearDuration = ANIMATION_DURATION_HEADS_UP_DISAPPEAR.toLong()
        val event = AnimationEvent(view, AnimationEvent.ANIMATION_TYPE_HEADS_UP_DISAPPEAR)