Use CtsInputMethodTestCases to test instant apps

Bug: 79484568
Test: cts-tradefed run cts-instant -m CtsInputMethodTestCases
Change-Id: If9b68860e521736775fa981fe84f16a63e480e4e
diff --git a/tests/inputmethod/AndroidTest.xml b/tests/inputmethod/AndroidTest.xml
index f69fff5..f749065 100644
--- a/tests/inputmethod/AndroidTest.xml
+++ b/tests/inputmethod/AndroidTest.xml
@@ -28,6 +28,10 @@
         -->
         <option name="test-file-name" value="CtsInputMethodTestCases.apk" />
     </target_preparer>
+    <target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer">
+        <option name="run-command" value="cmd input_method set-bind-instant-service-allowed true" />
+        <option name="teardown-command" value="cmd input_method set-bind-instant-service-allowed false" />
+    </target_preparer>
     <test class="com.android.tradefed.testtype.AndroidJUnitTest" >
         <option name="package" value="android.view.inputmethod.cts" />
         <option name="runtime-hint" value="1m0s" />