Loading packages/SystemUI/multivalentTests/src/com/android/systemui/dreams/DreamOverlayAnimationsControllerTest.kt +7 −1 Original line number Diff line number Diff line Loading @@ -84,7 +84,7 @@ class DreamOverlayAnimationsControllerTest : SysuiTestCase() { verify(mockAnimator, atLeastOnce()).addListener(captor.capture()) captor.allValues.forEach { it.onAnimationEnd(mockAnimator) } verify(stateController).setExitAnimationsRunning(false) verify(stateController, times(2)).setExitAnimationsRunning(false) } @Test Loading Loading @@ -154,4 +154,10 @@ class DreamOverlayAnimationsControllerTest : SysuiTestCase() { } ) } @Test fun testCancelAnimations_clearsExitAnimationsRunning() { controller.cancelAnimations() verify(stateController).setExitAnimationsRunning(false) } } packages/SystemUI/src/com/android/systemui/dreams/DreamOverlayAnimationsController.kt +1 −0 Original line number Diff line number Diff line Loading @@ -256,6 +256,7 @@ constructor( it.cancel() null } mOverlayStateController.setExitAnimationsRunning(false) } private fun blurAnimator( Loading Loading
packages/SystemUI/multivalentTests/src/com/android/systemui/dreams/DreamOverlayAnimationsControllerTest.kt +7 −1 Original line number Diff line number Diff line Loading @@ -84,7 +84,7 @@ class DreamOverlayAnimationsControllerTest : SysuiTestCase() { verify(mockAnimator, atLeastOnce()).addListener(captor.capture()) captor.allValues.forEach { it.onAnimationEnd(mockAnimator) } verify(stateController).setExitAnimationsRunning(false) verify(stateController, times(2)).setExitAnimationsRunning(false) } @Test Loading Loading @@ -154,4 +154,10 @@ class DreamOverlayAnimationsControllerTest : SysuiTestCase() { } ) } @Test fun testCancelAnimations_clearsExitAnimationsRunning() { controller.cancelAnimations() verify(stateController).setExitAnimationsRunning(false) } }
packages/SystemUI/src/com/android/systemui/dreams/DreamOverlayAnimationsController.kt +1 −0 Original line number Diff line number Diff line Loading @@ -256,6 +256,7 @@ constructor( it.cancel() null } mOverlayStateController.setExitAnimationsRunning(false) } private fun blurAnimator( Loading