Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 48ac6e99 authored by czq's avatar czq
Browse files

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
parent f45c4830
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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>