From 539821ec43d89e290dbc4df323de4092da7b2995 Mon Sep 17 00:00:00 2001 From: Nataniel Borges Date: Fri, 26 Feb 2021 13:49:44 +0100 Subject: [PATCH] IME to home tests should run only in 0 degrees The test is flaky on 90 degrees at the moment Test: atest FlickerTests:CloseImeWindowToHomeTest Bug: 162923992 Change-Id: I172f7727fa5be5f2e4806b850d94bc47850929ef --- .../android/server/wm/flicker/ime/CloseImeWindowToHomeTest.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/FlickerTests/src/com/android/server/wm/flicker/ime/CloseImeWindowToHomeTest.kt b/tests/FlickerTests/src/com/android/server/wm/flicker/ime/CloseImeWindowToHomeTest.kt index 43bd96400eec4..2bcdcd9c82193 100644 --- a/tests/FlickerTests/src/com/android/server/wm/flicker/ime/CloseImeWindowToHomeTest.kt +++ b/tests/FlickerTests/src/com/android/server/wm/flicker/ime/CloseImeWindowToHomeTest.kt @@ -162,7 +162,8 @@ class CloseImeWindowToHomeTest(private val testSpec: FlickerTestParameter) { @JvmStatic fun getParams(): Collection { return FlickerTestParameterFactory.getInstance() - .getConfigNonRotationTests(repetitions = 5) + .getConfigNonRotationTests(repetitions = 5, + supportedRotations = listOf(Surface.ROTATION_0)) } } }