diff options
| author | 2024-05-03 07:58:14 +0000 | |
|---|---|---|
| committer | 2024-05-03 07:58:14 +0000 | |
| commit | b7d2f92195d882cf94d3fdeff515fceb61194f32 (patch) | |
| tree | 4a8f4e1ab973add297c0aa6d834e0e4d788cc2d9 | |
| parent | c78496f980b85d5a398be06c40e65c40e6d38d89 (diff) | |
Remove unnecessary flaky check from test
Bug: 338492203
Flag: NONE
Test: atest FrameworksCoreTests:WindowOnBackInvokedDispatcherTest
Change-Id: Ibe018c5b470cfb775c24c87b313ac88445463d20
| -rw-r--r-- | core/tests/coretests/src/android/window/WindowOnBackInvokedDispatcherTest.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/core/tests/coretests/src/android/window/WindowOnBackInvokedDispatcherTest.java b/core/tests/coretests/src/android/window/WindowOnBackInvokedDispatcherTest.java index d54b862dfd34..50d7f59f70e9 100644 --- a/core/tests/coretests/src/android/window/WindowOnBackInvokedDispatcherTest.java +++ b/core/tests/coretests/src/android/window/WindowOnBackInvokedDispatcherTest.java @@ -384,11 +384,7 @@ public class WindowOnBackInvokedDispatcherTest { clearInvocations(mCallback1); callbackInfo.getCallback().onBackCancelled(); - waitForIdle(); - // verify onBackCancelled not yet called (since BackProgressAnimator animates - // progress to 0 first) - verify(mCallback1, never()).onBackCancelled(); // simulate start of new gesture while cancel animation is still running callbackInfo.getCallback().onBackStarted(mBackEvent); |