Skip to content

Commit

Permalink
common: permit libqdutils operation (linked by mediaserver) during WFD
Browse files Browse the repository at this point in the history
Change-Id: I9d5b62ea32d825a7e552998b7bc4cf0a8e90c97f
Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
  • Loading branch information
vladimiroltean authored and BadDaemon committed Sep 22, 2019
1 parent 9df97b5 commit 2f39c9e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions common/mediaserver.te
Expand Up @@ -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)
Expand Down

0 comments on commit 2f39c9e

Please sign in to comment.