summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Yzusqui <myzb.dev@gmail.com>2016-03-31 17:59:48 +0200
committerGerrit Code Review <gerrit@cyanogenmod.org>2016-04-05 13:46:19 -0700
commitef1a4793184e20551632955deaee8dc8edf3efee (patch)
tree10cb8eec04f4d06c09f6e887523e077561543af5
parentde0b2d324f087650cfdd40a545769c7877b1256f (diff)
downloadvendor_replicant-ef1a4793184e20551632955deaee8dc8edf3efee.zip
vendor_replicant-ef1a4793184e20551632955deaee8dc8edf3efee.tar.gz
vendor_replicant-ef1a4793184e20551632955deaee8dc8edf3efee.tar.bz2
cm: sepolicy: allow platform apps to execute render scripts
* Needed by Gallery3D Photo Editor to apply effects like: Vignette and Graduated. Change-Id: I7b07a974fbdb77abbaba1c15a21e918406d2175b
-rw-r--r--sepolicy/platform_app.te3
1 files changed, 3 insertions, 0 deletions
diff --git a/sepolicy/platform_app.te b/sepolicy/platform_app.te
index bbd4dd4..05376ff 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;