diff --git a/private/untrusted_app_25.te b/private/untrusted_app_25.te
index 2db9c4b1a9fe0e2f1eb6f440241c3ac16321ca37..7c266a524fef6870400a2c1d1070b87d7a43e194 100644
--- a/private/untrusted_app_25.te
+++ b/private/untrusted_app_25.te
@@ -53,5 +53,4 @@ allow untrusted_app_25 app_data_file:file execute_no_trans;
 # The ability to invoke dex2oat. Historically required by ART, now only
 # allowed for targetApi<=28 for compat reasons.
 allow untrusted_app_25 dex2oat_exec:file rx_file_perms;
-auditallow untrusted_app_25 dex2oat_exec:file rx_file_perms;
-
+userdebug_or_eng(`auditallow untrusted_app_25 dex2oat_exec:file rx_file_perms;')
diff --git a/private/untrusted_app_27.te b/private/untrusted_app_27.te
index c828f64868d951a4c47f1e65916b50acf22eaabc..b8fd22eb49e06077712a579feab41fe362abada4 100644
--- a/private/untrusted_app_27.te
+++ b/private/untrusted_app_27.te
@@ -34,5 +34,4 @@ allow untrusted_app_27 app_data_file:file execute_no_trans;
 # The ability to invoke dex2oat. Historically required by ART, now only
 # allowed for targetApi<=28 for compat reasons.
 allow untrusted_app_27 dex2oat_exec:file rx_file_perms;
-auditallow untrusted_app_27 dex2oat_exec:file rx_file_perms;
-
+userdebug_or_eng(`auditallow untrusted_app_27 dex2oat_exec:file rx_file_perms;')