sdm845-common: Fix lights HAL denials
* OnePlus decided to label these sysfs_oem for some reason. Change-Id: I4f9012d1583d5d9068751f273b3aa1537c2ce540
This commit is contained in:
@@ -6,3 +6,4 @@ type op2_file, file_type;
|
|||||||
type persist_file, file_type;
|
type persist_file, file_type;
|
||||||
type proc_touchpanel, fs_type;
|
type proc_touchpanel, fs_type;
|
||||||
type sysfs_fpc_proximity, sysfs_type, fs_type;
|
type sysfs_fpc_proximity, sysfs_type, fs_type;
|
||||||
|
type sysfs_oem, sysfs_type, fs_type;
|
||||||
|
|||||||
@@ -4,4 +4,4 @@ hal_server_domain(hal_light_sdm845, hal_light)
|
|||||||
type hal_light_sdm845_exec, exec_type, file_type;
|
type hal_light_sdm845_exec, exec_type, file_type;
|
||||||
init_daemon_domain(hal_light_sdm845)
|
init_daemon_domain(hal_light_sdm845)
|
||||||
|
|
||||||
allow hal_light_sdm845 sysfs_leds:file rw_file_perms;
|
allow hal_light_sdm845 sysfs_oem:file rw_file_perms;
|
||||||
|
|||||||
Reference in New Issue
Block a user