summaryrefslogtreecommitdiffstats
path: root/sepolicy/app.te
diff options
context:
space:
mode:
authorClark Scheff <clark@cyngn.com>2015-01-05 15:30:16 -0800
committerGerrit Code Review <gerrit@cyanogenmod.org>2015-01-14 15:55:41 +0000
commite9c2de0679f16a8ba7291aaf2cd4286bef8b2886 (patch)
tree5506f0688f2eee7148d856a32fab3a0a53d42626 /sepolicy/app.te
parentafbfad59d6321e41c4ef6ef1a19f8ad25c3a7359 (diff)
downloadvendor_replicant-e9c2de0679f16a8ba7291aaf2cd4286bef8b2886.zip
vendor_replicant-e9c2de0679f16a8ba7291aaf2cd4286bef8b2886.tar.gz
vendor_replicant-e9c2de0679f16a8ba7291aaf2cd4286bef8b2886.tar.bz2
sepolicy: Apps need to read themed resources
Assets such as composed icons and ringtones need to be accessed by apps. This patch adds the policy needed to facilitate this. Change-Id: If47920b2cc5dbafe8d71a621782bb4a3351bd68c
Diffstat (limited to 'sepolicy/app.te')
-rw-r--r--sepolicy/app.te3
1 files changed, 3 insertions, 0 deletions
diff --git a/sepolicy/app.te b/sepolicy/app.te
new file mode 100644
index 0000000..761eb5f
--- /dev/null
+++ b/sepolicy/app.te
@@ -0,0 +1,3 @@
+# Themed resources (i.e. composed icons)
+allow appdomain theme_data_file:dir r_dir_perms;
+allow appdomain theme_data_file:file r_file_perms;