Drop "adb shell" from RunCommandTargetPreparer.

The command should not have "adb shell", as the command is passed to
the device shell by RunCommandTargetPreparer.

Bug: 220385622
Test: atest InputMethodStressTest
Change-Id: I95a90d73e2c26c0ad21d5000b19ff8d805de5250
This commit is contained in:
Kohsuke Yatoh
2022-02-24 17:23:37 -08:00
parent 9e47855819
commit fd0314d65a

View File

@@ -19,8 +19,8 @@
<target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer" />
<target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer">
<option name="run-command" value="adb shell settings put secure show_ime_with_hard_keyboard 1" />
<option name="teardown-command" value="adb shell settings delete secure show_ime_with_hard_keyboard" />
<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>
<target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller">