summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorVladimir Oltean <olteanv@gmail.com>2019-01-22 03:45:08 +0200
committerMichael W <baddaemon87@gmail.com>2019-09-22 20:37:46 +0200
commit2f39c9ead32ba51feb98ae51d1b9ce18b130dd58 (patch)
tree4bb9561c7e8d9731e2b18272aae5dc20e7e3dc55 /common
parent9df97b51a13a0674dd709e5e64e14bd6c3ebb934 (diff)
downloadandroid_device_qcom_sepolicy-legacy-lineage-16.0.tar.gz
android_device_qcom_sepolicy-legacy-lineage-16.0.tar.bz2
android_device_qcom_sepolicy-legacy-lineage-16.0.zip
common: permit libqdutils operation (linked by mediaserver) during WFDHEADlineage-16.0
Change-Id: I9d5b62ea32d825a7e552998b7bc4cf0a8e90c97f Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
Diffstat (limited to 'common')
-rwxr-xr-xcommon/mediaserver.te3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/mediaserver.te b/common/mediaserver.te
index 1108551..ed7babb 100755
--- a/common/mediaserver.te
+++ b/common/mediaserver.te
@@ -30,6 +30,9 @@ allow mediaserver dts_data_file:file create_file_perms;
# allow poweroffhandler to binder mediaserver
binder_call(mediaserver, poweroffhandler);
+# Required for libqdutils MDPVersion::updatePanelInfo()
+# during WFD - opens /sys/class/graphics/fb0/msm_fb_type
+allow mediaserver sysfs_graphics:file r_file_perms;
# for thermal sock files
#unix_socket_connect(mediaserver, thermal, thermal-engine)