android_device_oneplus_dre/sepolicy/private/hal_livedisplay_sdm845.te
Danny Baumann e3ee15e8af sdm845-common: Replace lineagehw implementation by HIDL services
Move DisplayModeControl and SunlightEnhancement into a livedisplay
service, and TouchscreenGestures into a touch one.

Change-Id: I5f46671633a13ddc6733a47f4ea5a6515d6d6c98
2019-02-04 15:15:19 +01:00

12 lines
525 B
Text

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)
# Talk to the binder device node
allow hal_livedisplay_sdm845 binder_device:chr_file rw_file_perms;
# Allow LiveDisplay to store files under /data/display and access them
allow hal_livedisplay_sdm845 display_data_file:dir rw_dir_perms;
allow hal_livedisplay_sdm845 display_data_file:file create_file_perms;