summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author czq <czq@google.com> 2023-06-02 10:37:17 +0800
committer czq <czq@google.com> 2023-06-03 15:53:33 +0800
commit48ac6e99651cbc2b14a7d54b8a1a92e426aa7d18 (patch)
tree23f4e9cd34a97b48d1e823560f0111686f605578
parentf45c48302240c4c6f4877756450b1301a028acc0 (diff)
Disable deprecated abi warning window for InputMethodStressTest
New alert window was added to warn when 32-bit apps are launched on 64-bit devices. However, that interrupts some UI tests when they were launched in `module-abi: x86` or `module-abi: armeabi-v7a` mode. Add the command to disable the warning dialog for these tests. Bug: 284559054 Test: atest Change-Id: I1a8ecce60d95e27b00f45231f13c6aa80d1cf0bc
-rw-r--r--tests/InputMethodStressTest/AndroidTest.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/InputMethodStressTest/AndroidTest.xml b/tests/InputMethodStressTest/AndroidTest.xml
index bedf0990a188..bfebb42ad244 100644
--- a/tests/InputMethodStressTest/AndroidTest.xml
+++ b/tests/InputMethodStressTest/AndroidTest.xml
@@ -19,6 +19,7 @@
<target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer" />
<target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer">
+ <option name="run-command" value="setprop debug.wm.disable_deprecated_abi_dialog 1" />
<option name="run-command" value="settings put secure show_ime_with_hard_keyboard 1" />
<option name="teardown-command" value="settings delete secure show_ime_with_hard_keyboard" />
</target_preparer>