Merge "Fix broken FoldAodAnimationControllerTest test" into tm-qpr-dev am: f2896d4b3e

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20791324

Change-Id: I5f05f65cf3b119022eed543a9e6a26a282faf56d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
TreeHugger Robot
2023-01-17 20:56:24 +00:00
committed by Automerger Merge Worker

View File

@@ -175,8 +175,10 @@ class FoldAodAnimationControllerTest : SysuiTestCase() {
fold() fold()
underTest.onScreenTurningOn({}) underTest.onScreenTurningOn({})
underTest.onStartedWakingUp() // The body of onScreenTurningOn is executed on fakeExecutor,
// run all pending tasks before calling the next method
fakeExecutor.runAllReady() fakeExecutor.runAllReady()
underTest.onStartedWakingUp()
verify(latencyTracker).onActionStart(any()) verify(latencyTracker).onActionStart(any())
verify(latencyTracker).onActionCancel(any()) verify(latencyTracker).onActionCancel(any())