From a7500e4aa465dcf887f5e5490ebbfc069eb2ff2e Mon Sep 17 00:00:00 2001 From: Marzia Favaro Date: Thu, 11 May 2023 13:36:11 +0000 Subject: Cancel the wallpaper animation after the tests Fixes: 281859780 Test: atest KeyguardUnlockAnimationControllerTest#surfaceAnimation_ifNotWakeAndUnlocking KeyguardViewMediatorTest#testOnStartedWakingUp_logsUiEvent Change-Id: I0e334e79b558240343df834e5eca958d1ccda57e --- .../systemui/keyguard/KeyguardUnlockAnimationControllerTest.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/SystemUI/tests/src/com/android/systemui/keyguard/KeyguardUnlockAnimationControllerTest.kt b/packages/SystemUI/tests/src/com/android/systemui/keyguard/KeyguardUnlockAnimationControllerTest.kt index 47df64fc33e2..0a9618c2d568 100644 --- a/packages/SystemUI/tests/src/com/android/systemui/keyguard/KeyguardUnlockAnimationControllerTest.kt +++ b/packages/SystemUI/tests/src/com/android/systemui/keyguard/KeyguardUnlockAnimationControllerTest.kt @@ -113,8 +113,8 @@ class KeyguardUnlockAnimationControllerTest : SysuiTestCase() { @After fun tearDown() { - keyguardUnlockAnimationController.surfaceBehindEntryAnimator.cancel() - keyguardUnlockAnimationController.surfaceBehindAlphaAnimator.cancel() + keyguardUnlockAnimationController.notifyFinishedKeyguardExitAnimation(true) + keyguardUnlockAnimationController.wallpaperAlphaAnimator.cancel() } /** -- cgit v1.2.3-59-g8ed1b