summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanket Chinchalkar <schinchalkar@google.com>2021-07-13 13:42:36 -0700
committerSanket Chinchalkar <schinchalkar@google.com>2021-07-13 13:42:36 -0700
commitf24a62178491df8839714ca5c4318a0b2ef03c3e (patch)
tree216d351d25d4bca8a8ad22a3e7da97b861484b39
parentfb3064e42b7aa0cae363758e7cb67cee278ceed2 (diff)
downloadcatbox-android12-dev.tar.gz
Disable SELinux before executing AppStartup Testandroid12-dev
Test: Tested Locally Bug: 192271282 Change-Id: I1e1af3e637366b0a9c4566311a77afedaf71935d
-rw-r--r--tools/catbox-tradefed/res/config/catbox-preparer.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/catbox-tradefed/res/config/catbox-preparer.xml b/tools/catbox-tradefed/res/config/catbox-preparer.xml
index 0ca2571..b2e367f 100644
--- a/tools/catbox-tradefed/res/config/catbox-preparer.xml
+++ b/tools/catbox-tradefed/res/config/catbox-preparer.xml
@@ -14,6 +14,9 @@
limitations under the License.
-->
<configuration description="CATBOX Target Preparer Configuration">
+ <!-- Target Preparers - Disable SELinux before Test Execution -->
+ <target_preparer class="com.android.tradefed.targetprep.DisableSELinuxTargetPreparer" />
+
<!-- Target Preparers - Clean the Device after Test Execution -->
<target_preparer class="com.android.tradefed.targetprep.DeviceCleaner">
<option name="disable" value="true" />