Merge "Fix broken FoldAodAnimationControllerTest test" into tm-qpr-dev am: f2896d4b3e am: 6893d58158
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20791324 Change-Id: Id96f8444a426145cd54d2fef399813e961f98757 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -175,8 +175,10 @@ class FoldAodAnimationControllerTest : SysuiTestCase() {
|
||||
|
||||
fold()
|
||||
underTest.onScreenTurningOn({})
|
||||
underTest.onStartedWakingUp()
|
||||
// The body of onScreenTurningOn is executed on fakeExecutor,
|
||||
// run all pending tasks before calling the next method
|
||||
fakeExecutor.runAllReady()
|
||||
underTest.onStartedWakingUp()
|
||||
|
||||
verify(latencyTracker).onActionStart(any())
|
||||
verify(latencyTracker).onActionCancel(any())
|
||||
|
||||
Reference in New Issue
Block a user