From 94ebe606a850e9366711fe44ebb8265b2f5ff37f Mon Sep 17 00:00:00 2001 From: Arian Date: Mon, 9 Oct 2023 18:00:27 +0200 Subject: [PATCH] miuicamera: Allow camera app to execute files from it's data This is necessary for additional camera modes like long exposure which loads .so from data Change-Id: I2531f7871f3b0e69b341daae8ce283f79d69c7b7 --- sepolicy/vendor/platform_app.te | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sepolicy/vendor/platform_app.te b/sepolicy/vendor/platform_app.te index ae1c6fa..7b2e189 100644 --- a/sepolicy/vendor/platform_app.te +++ b/sepolicy/vendor/platform_app.te @@ -4,6 +4,8 @@ type hal_misys_hwservice, hwservice_manager_type; allow platform_app hal_camerapostproc_xiaomi_hwservice:hwservice_manager find; allow platform_app hal_misys_hwservice:hwservice_manager find; +allow platform_app app_data_file:file execute; + # Properties get_prop(platform_app, vendor_audio_prop) get_prop(platform_app, vendor_display_prop)