summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-05 21:35:06 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2023-11-05 21:35:06 +0000
commit87338aae976cb009504843b264a28f9cbb5342ed (patch)
treec52f5e48b4c194005b6602982374b7c0d6c3073c
parenta4a505d2248d7f66ce364a33aca1137db1b7e23e (diff)
parent48b76e4ce20e40511f5d2c42e8f396fe4971e8da (diff)
downloadcts-sparse-11054021-L80300030000583188.tar.gz
Merge "Snap for 11051471 from 66a5ba3d32e7f65d704b3ba4ff51d1cc21d103fe to android13-tests-release" into android13-tests-releasesparse-11054021-L80300030000583188
-rw-r--r--tests/inputmethod/src/android/view/inputmethod/cts/FocusHandlingTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/inputmethod/src/android/view/inputmethod/cts/FocusHandlingTest.java b/tests/inputmethod/src/android/view/inputmethod/cts/FocusHandlingTest.java
index 9cf78750bd4..83aa2ffc2b7 100644
--- a/tests/inputmethod/src/android/view/inputmethod/cts/FocusHandlingTest.java
+++ b/tests/inputmethod/src/android/view/inputmethod/cts/FocusHandlingTest.java
@@ -817,6 +817,7 @@ public class FocusHandlingTest extends EndToEndImeTestBase {
@Test
public void testUnfocusedEditor_stateHidden_hidesIme() throws Exception {
+ Assume.assumeFalse(isPreventImeStartup());
ImeEventStream stream = startFocusedEditorActivity_thenAnotherUnfocusedEditorActivity(
SOFT_INPUT_STATE_HIDDEN);
expectImeHidden(stream);
@@ -825,6 +826,7 @@ public class FocusHandlingTest extends EndToEndImeTestBase {
@Test
public void testUnfocusedEditor_stateAlwaysHidden_hidesIme() throws Exception {
+ Assume.assumeFalse(isPreventImeStartup());
ImeEventStream stream = startFocusedEditorActivity_thenAnotherUnfocusedEditorActivity(
SOFT_INPUT_STATE_ALWAYS_HIDDEN);
expectImeHidden(stream);
@@ -833,6 +835,7 @@ public class FocusHandlingTest extends EndToEndImeTestBase {
@Test
public void testUnfocusedEditor_stateVisible_startsIme() throws Exception {
+ Assume.assumeFalse(isPreventImeStartup());
ImeEventStream stream = startFocusedEditorActivity_thenAnotherUnfocusedEditorActivity(
SOFT_INPUT_STATE_VISIBLE);
// The previous IME should be finished
@@ -847,6 +850,7 @@ public class FocusHandlingTest extends EndToEndImeTestBase {
@Test
public void testUnfocusedEditor_stateAlwaysVisible_startsIme() throws Exception {
+ Assume.assumeFalse(isPreventImeStartup());
ImeEventStream stream = startFocusedEditorActivity_thenAnotherUnfocusedEditorActivity(
SOFT_INPUT_STATE_ALWAYS_VISIBLE);
// The previous IME should be finished