From ef1a4793184e20551632955deaee8dc8edf3efee Mon Sep 17 00:00:00 2001 From: Matthias Yzusqui Date: Thu, 31 Mar 2016 17:59:48 +0200 Subject: [PATCH] cm: sepolicy: allow platform apps to execute render scripts * Needed by Gallery3D Photo Editor to apply effects like: Vignette and Graduated. Change-Id: I7b07a974fbdb77abbaba1c15a21e918406d2175b --- sepolicy/platform_app.te | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sepolicy/platform_app.te b/sepolicy/platform_app.te index bbd4dd41..05376ff5 100644 --- a/sepolicy/platform_app.te +++ b/sepolicy/platform_app.te @@ -5,3 +5,6 @@ allow platform_app sdcard_posix:file create_file_perms; # Allow Gallery3D to crop user images allow platform_app system_app_data_file:file rw_file_perms; + +# Allow Gallery3D to execute render scripts +allow platform_app app_data_file:file execute;