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:
@@ -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