Merge Android 14 QPR2 to AOSP main

Bug: 319669529
Merged-In: I30aaa1cc50a2b92af1cd0f5e54ad252233178c37
Change-Id: I9e92deded4ae33fa880454680ad101b6c5dd0b1d
diff --git a/AndroidTest.xml b/AndroidTest.xml
index 0e08e46..5233b0d 100644
--- a/AndroidTest.xml
+++ b/AndroidTest.xml
@@ -26,6 +26,13 @@
         <option name="push" value="libchrome-gestures_test->/data/local/tmp/libchrome-gestures_test" />
     </target_preparer>
 
+    <!--
+        Because we push the test binary into /data/local/tmp, SELinux prevents
+        it from being read to produce symbolized stack traces when crashes
+        occur, so disable SELinux for these tests.
+    -->
+    <target_preparer class="com.android.tradefed.targetprep.DisableSELinuxTargetPreparer" />
+
     <test class="com.android.tradefed.testtype.GTest" >
         <option name="native-test-device-path" value="/data/local/tmp" />
         <option name="module-name" value="libchrome-gestures_test" />