sanders: Convert lights HAL to native binderized HAL

[Adapted from libra for griffin]

Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
Signed-off-by: therootlord <igor_cestari@hotmail.com>
This commit is contained in:
Demon000
2017-09-24 16:30:56 +02:00
committed by therootlord
parent 2cbf835dee
commit 2432fd6916
12 changed files with 287 additions and 438 deletions

View File

@@ -128,3 +128,7 @@
# Fingerprint custom hal
/(vendor|system/vendor)/bin/hw/android\.hardware\.biometrics\.fingerprint@2\.1-service_32 u:object_r:hal_fingerprint_default_exec:s0
# Light HAL
/(vendor|system/vendor)/bin/hw/android\.hardware\.light@2\.0-service.sanders u:object_r:hal_light_default_exec:s0
/sys/devices/soc/1a00000.qcom,mdss_mdp/1a00000.qcom,mdss_mdp:qcom,mdss_fb_primary/leds/lcd-backlight/brightness u:object_r:sysfs_leds:s0
/sys/devices/soc/leds-atc-20/leds/charging/brightness u:object_r:sysfs_leds:s0

View File

@@ -1 +1 @@
allow hal_light_default sysfs:file { open read write };
allow hal_light_default sysfs_leds:file rw_file_perms;