sdm845-common: Build our own lights HAL
Change-Id: I0e0d2db5c109778b86ab54101b70f0d3856195cb
This commit is contained in:
@@ -5,3 +5,6 @@
|
||||
/op1(/.*)? u:object_r:op1_file:s0
|
||||
/op2(/.*)? u:object_r:op2_file:s0
|
||||
/persist(/.*)? u:object_r:persist_file:s0
|
||||
|
||||
# Lights
|
||||
/system/bin/hw/android\.hardware\.light@2\.0-service\.oneplus_sdm845 u:object_r:hal_light_sdm845_exec:s0
|
||||
|
||||
7
sepolicy/private/hal_light_sdm845.te
Normal file
7
sepolicy/private/hal_light_sdm845.te
Normal file
@@ -0,0 +1,7 @@
|
||||
type hal_light_sdm845, coredomain, domain;
|
||||
hal_server_domain(hal_light_sdm845, hal_light)
|
||||
|
||||
type hal_light_sdm845_exec, exec_type, file_type;
|
||||
init_daemon_domain(hal_light_sdm845)
|
||||
|
||||
allow hal_light_sdm845 sysfs_leds:file rw_file_perms;
|
||||
Reference in New Issue
Block a user