diff options
| author | 2023-10-04 09:16:20 +0000 | |
|---|---|---|
| committer | 2023-10-04 09:16:20 +0000 | |
| commit | 992da3c19e954180d51545a262c2ef66b11c5c8e (patch) | |
| tree | c739fc250894c10f969419b0b0cd683e712aa20e | |
| parent | 6c29a6fb047c2426201e7bc855afd9ba6526607a (diff) | |
Reduce flakiness of testDisplayRotationChange
Use test sync engine so it won't count timeout.
Fix: 303253233
Test: TransitionTests#testDisplayRotationChange
Change-Id: Ia6072e090473c8374c4da07e1267b585554d2454
| -rw-r--r-- | services/tests/wmtests/src/com/android/server/wm/TransitionTests.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/services/tests/wmtests/src/com/android/server/wm/TransitionTests.java b/services/tests/wmtests/src/com/android/server/wm/TransitionTests.java index 75716b913cee..241f7d8937f2 100644 --- a/services/tests/wmtests/src/com/android/server/wm/TransitionTests.java +++ b/services/tests/wmtests/src/com/android/server/wm/TransitionTests.java @@ -1081,6 +1081,7 @@ public class TransitionTests extends WindowTestsBase { makeWindowVisible(windows); mDisplayContent.getDisplayPolicy().addWindowLw(statusBar, statusBar.mAttrs); mDisplayContent.getDisplayPolicy().addWindowLw(navBar, navBar.mAttrs); + mDisplayContent.mTransitionController.setSyncEngine(createTestBLASTSyncEngine()); final TestTransitionPlayer player = registerTestTransitionPlayer(); mDisplayContent.getDisplayRotation().setRotation(mDisplayContent.getRotation() + 1); |