From 78f02500776eb8d4f9a7eff90f41dedc67c768ce Mon Sep 17 00:00:00 2001 From: Nicolas Geoffray Date: Wed, 28 Apr 2021 13:37:27 +0100 Subject: [PATCH] Allow dex2oat to read /apex/apex-info-list.xml Test: ART tests Bug: 182465342 Change-Id: Ied9f41d59795fa72b9806c71241ae0c9bc05ce48 --- private/dex2oat.te | 3 +++ 1 file changed, 3 insertions(+) diff --git a/private/dex2oat.te b/private/dex2oat.te index 697ec1f30..28d8b9a09 100644 --- a/private/dex2oat.te +++ b/private/dex2oat.te @@ -58,6 +58,9 @@ allow dex2oat apex_art_data_file:file r_file_perms; get_prop(dex2oat, device_config_runtime_native_prop) get_prop(dex2oat, device_config_runtime_native_boot_prop) +# Allow dex2oat to read /apex/apex-info-list.xml +allow dex2oat apex_info_file:file r_file_perms; + ################## # A/B OTA Dexopt # ##################