summaryrefslogtreecommitdiff
path: root/tests/inputmethod/tests32/AndroidTest.xml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/inputmethod/tests32/AndroidTest.xml')
-rw-r--r--tests/inputmethod/tests32/AndroidTest.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/inputmethod/tests32/AndroidTest.xml b/tests/inputmethod/tests32/AndroidTest.xml
index 9c5b12879de..e24e28df3c3 100644
--- a/tests/inputmethod/tests32/AndroidTest.xml
+++ b/tests/inputmethod/tests32/AndroidTest.xml
@@ -71,6 +71,9 @@
<option name="teardown-command" value="am compat reset ALLOW_TEST_API_ACCESS com.android.cts.mockime" />
<option name="run-command" value="am compat enable ALLOW_TEST_API_ACCESS android.view.inputmethod.ctstestapp" />
<option name="teardown-command" value="am compat reset ALLOW_TEST_API_ACCESS android.view.inputmethod.ctstestapp" />
+
+ <!-- Wait for PACKAGE_ADDED broadcasts to be delivered to InputMethodManagerService. -->
+ <option name="run-command" value="am wait-for-broadcast-idle" />
</target_preparer>
<test class="com.android.tradefed.testtype.AndroidJUnitTest">
<option name="package" value="android.view.inputmethod.cts.sdk32" />