2019-01-22 08:15:40 -05:00
|
|
|
type hal_livedisplay_sdm845, coredomain, domain;
|
|
|
|
hal_server_domain(hal_livedisplay_sdm845, hal_lineage_livedisplay)
|
|
|
|
|
|
|
|
type hal_livedisplay_sdm845_exec, exec_type, file_type;
|
|
|
|
init_daemon_domain(hal_livedisplay_sdm845)
|
|
|
|
|
2019-06-17 05:31:36 -04:00
|
|
|
# Allow LiveDisplay to store files under /data/misc/display and access them
|
|
|
|
allow hal_livedisplay_sdm845 display_misc_file:dir rw_dir_perms;
|
|
|
|
allow hal_livedisplay_sdm845 display_misc_file:file create_file_perms;
|
2019-06-17 05:22:29 -04:00
|
|
|
|
|
|
|
# Grant access over LiveDisplay tuneables
|
|
|
|
allow hal_livedisplay_sdm845 sysfs_livedisplay_tuneable:file rw_file_perms;
|