Dismiss Play Protect dialog faster for PackageManagerServiceTests

Play Protect dialog is displayed to either prompt for confirmation of
the install or to report that the install was denied, causing the test
to timeout. Dismiss it faster so that the tests can continue.

Bug: 283797480
Test: atest PackageManagerServiceServerTests:PackageManagerTests
Change-Id: Ia54d509dd916aa245d7cfbc4576a68d042b05c65
This commit is contained in:
Sumedh Sen
2023-05-31 18:26:38 -07:00
parent f3192865a3
commit 8943c14306

View File

@@ -23,6 +23,9 @@
<option name="install-arg" value="-g" />
<option name="test-file-name" value="PackageManagerServiceServerTests.apk" />
</target_preparer>
<target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer">
<option name="run-command" value="settings put global verifier_engprod 1" />
</target_preparer>
<option name="test-tag" value="PackageManagerServiceServerTests" />
<test class="com.android.tradefed.testtype.AndroidJUnitTest" >